FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

broken links in the gallery by mdboom · Pull Request #1024 · matplotlib/matplotlib · GitHub

Repository navigation

broken links in the gallery - #1024

Merged
mdboom merged 1 commit into
matplotlib:v1.1.xfrom
mdboom:fix-gallery
Aug 3, 2012
Merged

mdboom merged 1 commit into
matplotlib:v1.1.xfrom
mdboom:fix-gallery

Conversation

mdboom commented Aug 3, 2012

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Member

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.

mdboom commented Aug 3, 2012

Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
Member

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.

mdboom commented Aug 3, 2012

Copy link
Copy Markdown
Member

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 added a commit that referenced this pull request Aug 3, 2012
mdboom merged commit ff883a6 into matplotlib:v1.1.x Aug 3, 2012
mdboom deleted the fix-gallery branch March 3, 2015 18:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL