Skip to content

Switch to log scale raises exception *after* editing figure options. #7098

Closed

Description

@anntzer

2.0b4.

plot([0, 1, 2])

Pressing l (switch y to log-scale) results in ignoring the point at (0, 0) for the autoscaling which is a fairly reasonable thing to do. But after opening the figure options, not editing anything and pressing OK, pressing l now results in a crash during the figure redraw (basically because the ylims are now considered to be force-set).
Note that #6983 cannot handle this because the key handler only calls draw_idle, so the exception occurs too late to be caught.

Activity

  1. efiring commented on May 23, 2019

    @efiring
    Member

    This also seems to have been fixed. I can't reproduce it.

  2. anntzer commented on May 25, 2019

    @anntzer
    ContributorAuthor

    There's no crash anymore, but the behavior still changes after opening the figure options window. Not sure there's much to do about it, though.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions