Skip to content

matplotlib.pyplot is missing from intersphinx #9331

Closed

Description

@bsipocz

The updates to the API docs for the new v2.1 release apparently has some consequences for downstream documentation.

In a few places in astropy we link to matplotlib.pyplot using intersphinx. However the new mapping doesn't have this it any more in the module mapping part.

I wonder what is the suggested approach? I would like to avoid hard wiring a link, or not linking at all. Also, the link using the old inventory resolves to http://matplotlib.org/api/pyplot_api.html#module-matplotlib.pyplot and it still seems to work, just missing from the new inventory.

Activity

  1. siebenkopf commented on Oct 12, 2017

    @siebenkopf

    This is not only breaking your own links, but also links of other packages that want to use intersphinx to link to the matplotlib.pyplot module. For example, the following example sphinx documentation worked until recently, but does not work with version 2.1.0:

    :py:mod:`matplotlib.pyplot`
    

    It would be great if you could add back matplotlib.pyplot to the API documentation.

  2. anntzer commented on Oct 12, 2017

    @anntzer
    Contributor

    xref #8175 I guess the resolution should be similar.

  3. tacaswell commented on Oct 12, 2017

    @tacaswell
    Member

    yikes, sorry about that!

  4. added this to the milestone on Oct 12, 2017
  5. tacaswell commented on Oct 13, 2017

    @tacaswell
    Member

    The docs have been re-built and the xref should now be there.

    Closed by #9386

  6. bsipocz commented on Oct 13, 2017

    @bsipocz
    ContributorAuthor

    Thank you @tacaswell!

  7. siebenkopf commented on Oct 14, 2017

    @siebenkopf

    Great, thanks a lot :-)

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions