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
Figure linewidth default in rcparams #6083
Comments
Is the varying thickness of the box around the figure also a feature or a bug? |
What was the last version of mpl that those rcparams worked with? Hopefully this level of customization will be enabled by traitlets. |
Let's see... I initially downloaded matplotlib in august 2015 through the default anaconda installer and updated to 1.5.1 just before posting this issue (March 1st 2016). I don't have a version timeline available but I suppose the version i downloaded in august 2015 would be 1.4.x ? Please verify Kind regards, Nick |
Yes, most likely, it would have been version 1.4.2 if it was August 2015. On Tue, May 17, 2016 at 2:24 AM, NGJROMO notifications@github.com wrote:
|
Can you try down-grading mpl via anaconda ( |
Hi, I can confirm that downgrading to 1.4.3 does not resolve my problem. Attempting a downgrade to 1.4.2 gives me the following:
I've also changed my rcparams code since I first made it, so I am not sure if I will be able to reproduce the problem with a 100% accuracy |
The easiest thing to do is just create a new enviroment with |
Hi, I can confirm that creating this testing environment and running my code again does not give me black lines around my plots. |
Can you find a version of mpl where your code did work as expected? |
I cannot, so I assume it's not matplotlib that causes the problem? It is now two months ago since I posted this issue, and in the meantime I've upgraded from windows 8 to 10 and reinstalled anaconda again so I assume a lot of things have changed along with that. |
Without an example of when it worked it is hard for us to do much else to help. It seems you have found a suitable workaround so closing this due to not enough information. If you can reproduce the old behavior please ping to have this re-opened! |
Right, so could you please show me how to set my rcParams to produce a frame around my plots by default? |
I suggest sending an email to the matplotlib-user@python.org mailing list (you will need to subscribe to post un-moderated). We try to keep the issue tracking for bugs / feature requests and use the mailing list for this sort of user support. |
I'm not sure where to subscribe in order to mail to this address, regardless I still think my request would classify as a feature request. As far as all I am asking is for a
entry to be added to the rcparams |
Hello,
I am using:
Matplotlib 1.5.1
Python 3.5
Windows 7 Professional 64-bit (6.1, Build 7601)
And I installed Python and Matplotlib newly through Anaconda.
I used to set my default plot settings with the following code:
Which gave me a plot with a black grid, a white background and a black line around the plot. I initialized my figures with plt.figure():
After updating to Matplotlib 1.5.1 I run the same code, but the black box around the figure is gone:
I can manually fix the issue by initializing my figures with plt.figure(linewidth=1) (Which is how I produced above plots), but I would like to set the default figure linewidth in rcparams. To my knowledge this is currently not possible. e.g. an entry such as:
would be perfect. It would be much appreciated if I could get some support on this topic.
I don't remember the exact version of Python and Matplotlib in which this used to work, is there a way to check my update history in Anaconda?
Kind regards,
Nick
The text was updated successfully, but these errors were encountered: