8000 savefig does put the correct dpi in the metadata of jpeg · Issue #9035 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
savefig does put the correct dpi in the metadata of jpeg #9035
Closed
@fonnesbeck

Description

@fonnesbeck

Bug summary

When I save a figure using savefig with a specified dpi argument, the resulting figure is not saved at that resolution.

Code for reproduction

I am saving the figure like this:

bp.get_figure().savefig('../figures/domains_5.jpg', dpi=200) 

where bp is the axes of my figure.

Actual outcome

I get a figure saved to 72dpi

Expected outcome

I was expecting a figure at 200dpi

Matplotlib version

  • Operating System: macOS 10.12
  • Matplotlib Version: 2.0.0
  • Python Version: 3.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0