New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError after moving legend and rcParams.update #6113
Comments
This is something between a mpl issue and an IPython issue. In #4286 mpl added 'figure' as a valid dpi to pass to That PR added #5720 added some checks in In this case the inline backend is grabbing the dpi from rcparams and explicitly passing it into |
The string 'figure' is a valid value for dpi. Always check if this is the input, not just if we look it up from the rcparams. closes matplotlib#6113
In mpl 1.5.0 'figure' became a valid dpi value, in 2.0 it will become the default. xref matplotlib/matplotlib#6113
Thanks for this report! You know you have found a good bug when you get both a mpl and an IPython PR out of it 😉 |
In mpl 1.5.0 'figure' became a valid dpi value, in 2.0 it will become the default. xref matplotlib/matplotlib#6113 ...
In mpl 1.5.0 'figure' became a valid dpi value, in 2.0 it will become the default. xref matplotlib/matplotlib#6113 ...
In mpl 1.5.0 'figure' became a valid dpi value, in 2.0 it will become the default. xref matplotlib/matplotlib#6113 ...
The string 'figure' is a valid value for dpi. Always check if this is the input, not just if we look it up from the rcparams. closes matplotlib#6113
Minimal example:
Produces error:
{'dirty': False,
'error': None,
'full-revisionid': 'c0728d23ca5adbff6b79cda3153d0d36bff12c55',
'version': '1.5.1+1304.gc0728d2'}
Python 3.4
Ubuntu 14
pip3 github
The text was updated successfully, but these errors were encountered: