Skip to content

Fix format error in switcher.json#23145

Merged
timhoffm merged 1 commit into
matplotlib:mainfrom
timhoffm:fix-switcher-json
May 26, 2022
Merged

Fix format error in switcher.json#23145
timhoffm merged 1 commit into
matplotlib:mainfrom
timhoffm:fix-switcher-json

Conversation

@timhoffm

Copy link
Copy Markdown
Member

As opposed to python, the last element of a json list is not allowed to
have a trailing comma.

As opposed to python, the last element of a json list is not allowed to
have a trailing comma.
@timhoffm timhoffm added this to the v3.6.0 milestone May 26, 2022
@timhoffm

Copy link
Copy Markdown
Member Author

I think we do not need to backport this, as we always only look at the version in the devdocs:

"json_url": "https://matplotlib.org/devdocs/_static/switcher.json",

@QuLogic

QuLogic commented May 26, 2022

Copy link
Copy Markdown
Member

There isn't even a switcher in 3.5.x, so don't need to backport.

@timhoffm timhoffm merged commit 6296e50 into matplotlib:main May 26, 2022
@timhoffm timhoffm deleted the fix-switcher-json branch May 26, 2022 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants