Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

broken links in the gallery #1024

Merged
merged 1 commit into from Aug 3, 2012

Conversation

Projects
None yet
2 participants
Contributor

mdboom commented Aug 3, 2012

the following links in the gallery
http://matplotlib.sourceforge.net/examples/pylab_examples/demo_tight_layout_00.html
http://matplotlib.sourceforge.net/examples/pylab_examples/demo_tight_layout_01.html
http://matplotlib.sourceforge.net/examples/axes_grid/demo_axes_divider_01.html
(and maybe others) do not work

error:

  1. Server: matplotlib.sourceforge.net
  2. URL path: /examples/pylab_examples/demo_tight_layout_00.html
  3. Error notes: NONE
  4. Error type: 404
  5. Request method: GET
  6. Request query string: NONE
  7. Time: 2012-07-19 09:12:32 UTC (1342689152)

The corresponding links in the examples (e.g. http://matplotlib.sourceforge.net/examples/pylab_examples/demo_tight_layout.html) are fine

Member

WeatherGod commented Jul 19, 2012

Confirmed in master as well. Not sure where these are coming from because the string "demo_tight_layout_00" doesn't exist in any of the version-controlled files.

Owner

mdboom commented Aug 3, 2012

The attached pull request resolves this issue. I am now going to upload a fixed version of the 1.1.x docs based on this change.

Member

WeatherGod commented Aug 3, 2012

I think your fix would also solve a few other problems I have had as well (left over .pyc files get picked up sometimes), unless I am completely mis-understanding the regex.

Owner

mdboom commented Aug 3, 2012

I don't think it will address that, because it's only use with things before the extension. All it really addresses is that some of the examples produce multiple groups of figures, and those were not getting correctly linked back to the single .py that produced them.

Go ahead and file another bug if you're seeing something related to left over .pyc files.

@mdboom mdboom added a commit that referenced this pull request Aug 3, 2012

@mdboom mdboom Merge pull request #1024 from mdboom/fix-gallery
broken links in the gallery
ff883a6

@mdboom mdboom merged commit ff883a6 into matplotlib:v1.1.x Aug 3, 2012

@mdboom mdboom deleted the mdboom:fix-gallery branch Mar 3, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment