-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
demo_parasite_axes2 doesn't work as expected #13193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you using the latest version of Matplotlib? |
You are referring to the example from the documentation of matplotlib 2.0.2. Unless you are using that version you might rather refer to the example of the version in use. For the latest 3.0.2, that example would be found here. In general, also consider not using the axes grid for the sole purpose of parasite axes (other applications may still make it desireable, though), but rather Multiple Yaxis With Spines. |
I'm new to Matplotlib. I simply did "pip install matplotlib" on my python 3.6, and then tried the example. There's nothing on that page that clearly states it only works with certain versions. |
Agreed - its super annoying that old pages don't disappear from the main site's tree. But no one has come up/implimented a way to fix that. |
Can someone manually delete all the pages in |
The problem is that 404s all the exiting internet links out there. |
One option: stick a big warning at the top of the page "This example is deprecated and for version X. Current examples are found at example.com/current." General options are listed here: https://moz.com/blog/how-should-you-handle-expired-content |
Modern matplotlib docs have a new header that has the version in it. I think it wouldn't be a huge lift to add a banner to the old versions, at least those pre 3.0.... |
I'd also suggest setting robots.txt to not crawl them. If they're all in the same directory, that's an easy one-line fix.
|
And while fixing outdated pages, this just came up as a high result for one of my searches: Oooh, there's a new version, |
I think we would actually accept help with this. OTOH, I'm not quite clear how we make low-level chnges to the docs https://github.com/matplotlib/matplotlib.github.com |
This demo:
https://matplotlib.org/examples/axes_grid/demo_parasite_axes2.html
If I copy/paste all the code from that, the output is a graph doesn't have the "Temperature" axis - neither the axis label, nor the tick labels are there.
The text was updated successfully, but these errors were encountered: