Skip to content

Error calculating scaling for radiobutton widget. #4429

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
jtambasco opened this issue May 15, 2015 · 2 comments
Closed

Error calculating scaling for radiobutton widget. #4429

jtambasco opened this issue May 15, 2015 · 2 comments

Comments

@jtambasco
Copy link

Hi,

I believe there is a bug regarding the scaling of the radiobuttons if many radiobuttons are created. If more radiobuttons are created on the same axis, they begin to overlap and become elipses. Making the axis larger does not fix the problem.

This problem has been mentioned prior to this on SO (at least) twice:
http://stackoverflow.com/questions/16484528/matplotlib-widget-many-radiobuttons-issue/16484901?noredirect=1#comment48482822_16484901
http://stackoverflow.com/questions/23997920/matplotlib-radio-button-scaling

Code that replicates the problem and more screenshots can be found in the SO posts.

screenshot from 2015-05-15 13-36-11

@tacaswell tacaswell added this to the next point release milestone May 15, 2015
@tacaswell tacaswell modified the milestones: next point release, proposed next point release Jul 11, 2015
@petehuang
Copy link
Contributor

petehuang commented Jan 10, 2017

Reconfirming with TkAgg, Windows 8.1, MPL 1.5.3, Python 2.7.12. Example code snippet here:

import matplotlib.pyplot as plt
from matplotlib.widgets import RadioButtons

rax = plt.axes([0.05, 0.1, 0.15, 0.7], axisbg='white')
radio3 = RadioButtons(rax, ('B1', 'B2', 'B3', 'B4', 'B5','B6', 'B7', 'B8', 'B9', 'B10'))

plt.show()

@tacaswell tacaswell modified the milestones: 2.1 (next point release), 2.2 (next next feature release) Oct 3, 2017
@QuLogic
Copy link
Member

QuLogic commented Sep 23, 2020

Fixed by #10780.

@QuLogic QuLogic closed this as completed Sep 23, 2020
@QuLogic QuLogic modified the milestones: needs sorting, v3.0.0 Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants