Skip to content

Several axes_grid1 and axisartist examples broken on master #5757

Closed

Description

@jenshnielsen

There are not really any unittest that tests this functionality so this is not caught but the following examples have changes since 1.5.0

  • inset_locator_demo1

1.5.0

inset_locator_demo1

Master

inset_locator_demo1-1

  • inset_locator_demo2

1.5.0

inset_locator_demo2-1

Master

inset_locator_demo2

(http://matplotlib.org/devdocs/mpl_toolkits/axes_grid/examples/inset_locator_demo2.png)

  • simple_axisline4

1.5.0

simple_axisline41

Master

simple_axisline41-1

  • Simple anchored artists

1.5.0

simple_anchored_artists1-1

Master

simple_anchored_artists1

It's likely that this is only one or two issues.

Activity

  1. jenshnielsen commented on Dec 29, 2015

    @jenshnielsen
    MemberAuthor

    This was found doing #5752 Ironically #5752 fixes the issue with simple_axisline4 by changing the example from a axisartist axis to a regular matplotlib axis but that is of cause not a proper fix.

  2. mdboom commented on Dec 29, 2015

    @mdboom
    Member

    I can bisect to hopefully find the cause.

  3. mdboom commented on Dec 29, 2015

    @mdboom
    Member

    First bad commit is f88114c. I'm working on a solution.

  4. mdboom commented on Dec 29, 2015

    @mdboom
    Member

    simple_axisline4 was broken by d268abf (i.e. a different commit).

  5. added a commit that references this issue on Dec 29, 2015
    e5b5425
  6. self-assigned this
    on Dec 29, 2015
  7. added this to the milestone on Jan 2, 2016
  8. smheidrich commented on Jul 31, 2016

    @smheidrich
    Contributor

    @mdboom Is this change actually needed? If I remove the line on my system, the example image still comes out fine.

  9. jenshnielsen commented on Jul 31, 2016

    @jenshnielsen
    MemberAuthor

    @smheidrich Can you create a new issue detailing exactly which change you are referring too. The whole commit or a part of it. Commenting on a closed PR is sure to be lost in the noise.

  10. smheidrich commented on Jul 31, 2016

    @smheidrich
    Contributor

    @jenshnielsen the link has an anchor that points to the exact line I mean (examples/axes_grid/simple_axisline4.py line 16):

     ax2.axis["top"].major_ticklabels.set_visible(True)
    

    I don't think this is important enough to warrant a new issue, I just don't see why it is needed (works without it on my system). If it is needed then I must have seriously messed something up in #4898... there is another issue where it broke something so I feel responsible.

    EDIT Nevermind actually, you wrote yourself that it was fixed by removing the AA.Axes thing, so that's why it now works without it on my system. Still, the line should be removed IMHO if it's not needed.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions