Skip to content
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

fignum_exists() could handle string numbers? #2880

Closed
lebigot opened this issue Mar 9, 2014 · 1 comment
Closed

fignum_exists() could handle string numbers? #2880

lebigot opened this issue Mar 9, 2014 · 1 comment

Comments

@lebigot
Copy link
Contributor

lebigot commented Mar 9, 2014

It is possible to create a figure with a string "number": figure(num="Charts"), which is used as the window title (if any).

This string number is even recognized by pyplot.subplots(…, num="Charts"): it does recover the original figure and axes.

However, pyplot.fignum_exists("Chart") returns False.

So, part of Matplotlib knows that a figure was created (and is open) with a certain string "number" (subplots(),…), while another part of Matplotlib doesn't (fignum_exists()). It would be useful if fignum_exists() was aware of figure string numbers too.

@tacaswell
Copy link
Member

Interesting. This should be folded into #2624 and/or #2736 .

@tacaswell tacaswell added this to the v1.5.x milestone Mar 9, 2014
@tacaswell tacaswell modified the milestones: unassigned, v1.5.x Nov 26, 2014
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

2 participants