Skip to content

BUG: OSX backend, Figure.set_dpi() gets confused on retina display  #6501

Closed

Description

@efiring

On v2.x, with ipython --pylab=osx:

plot([1,2,3])
gcf().set_dpi(115)

It now displays the result with an image size based on true dpi rather than pixel-doubled dpi used originally. Subsequent attempts to change dpi result in nothing being plotted.

Activity

  1. added this to the milestone on May 30, 2016
  2. jenshnielsen commented on Jun 10, 2016

    @jenshnielsen
    Member

    Somewhat related if an OSX backend figure is dragged from a hidpi screen to a low dpi screen or the other way the figure is blanked (the toolbar buttons stays and are even correctly repainted in the right resolution)

  3. modified the milestones: , on May 3, 2017
  4. modified the milestones: , on Oct 9, 2017
  5. greglucas commented on Nov 26, 2021

    @greglucas
    Contributor

    The macosx dpi scaling issues were sorted out in #21365 and this seems to work as expected on my local retina display now.

  6. removed this from the future releases milestone on Oct 6, 2022
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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions