Skip to content

rc defaults incorrectly interpreted by colorbar #2296

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

Closed
eyurtsev opened this issue Aug 14, 2013 · 4 comments
Closed

rc defaults incorrectly interpreted by colorbar #2296

eyurtsev opened this issue Aug 14, 2013 · 4 comments

Comments

@eyurtsev
Copy link
Contributor

There should be no circles around the colorbar.

See code here: http://nbviewer.ipython.org/6234558

Linux twiddles 3.2.0-51-generic-pae #77-Ubuntu SMP Wed Jul 24 20:40:32 UTC 2013 i686 i686 i386 GNU/Linux
1.1.1rc
Obtained using apt-get

@WeatherGod
Copy link
Member

Confirmed in a more recent version as well.

@tacaswell
Copy link
Member

The issue is that for reasons that are not clear to me, the outline box of the color bar is drawn with a Line2D object ( https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/colorbar.py#L418 ) which should respect the rcparam set here.

I suspect the fix will be to change the outline to be a rectangle patch.

@eyurtsev as a side comment, can you paste the relevant code into the issue text in the future?

@efiring
Copy link
Member

efiring commented Aug 16, 2013

It will have to be a polygon, not a rectangle; it's not always rectangular.

@dmcdougall
Copy link
Member

Fixed by #2352

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants