-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Specifying dictionary argument with dict() or braces matters in set_bbox #1934
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
Comments
From the bit of digging I have done on this, there doesn't seem to be |
The problem is not with the way you instantiate a dictionary but the order. If I run the test program, sometimes I see the edge and sometimes not depending on the random ordering of the dictionary. The issue arrises when I believe the solution is to actually allow colors of |
@cimarronm - is this now fixed? |
Thank you. Am I supposed to close this issue myself? (I do not have the update with the correction myself.) |
@pelson: I tested it and it is fixed thanks to the good work from @Westacular |
Great. thanks for the update. |
In matplotlib home page, there is a link to a tutorial by Nicolas Rougier. In the section of the tutorial entitled "Devil is in the details", the script:
http://www.loria.fr/~rougier/teaching/matplotlib/scripts/exercice_10.py
produces the figure displayed on the web page. Line 48 of the script is:
If we replace this line by:
then the edgecolor request is not taken into account. The two statements above should be equivalent. The author of the tutorial, Nicolas Rougier, is surprised too. People on stackoverflow think it is a matplotlib bug:
http://stackoverflow.com/questions/16107832/specifying-dictionary-argument-with-dict-or-braces-matters-in-set-bbox
The text was updated successfully, but these errors were encountered: