max open warning
See original GitHub issueHi, I use ipympl in jupyterlab.%matplotlib widget opens a different figure for the same cell after each run. Soon I’ll get this max open warning, which is kinda irritating. %matplotlib notebook has no such issue. Is there a way to not open another figure in the same cell?
(%matplotlib widget)
(%matplotlib notebook)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
matplotlib get rid of max_open_warning output - Stack Overflow
Try setting it this way: import matplotlib as plt plt.rcParams.update({'figure.max_open_warning': 0}). Not sure exactly why this works, but it mirrors the ...
Read more >jupyter runtimewarning: more than 20 figures have been opened
max open warning. Usually this error Arises when People Upgrade Mysql server from old version. “open_file_limit” and “Max_connections” are very important ...
Read more >rcParam figure.max_open_warning - CryoSPARC Discuss
I am attempting to perform a 2D classification using 100 iterations for 50 classes. My job stops at 44 iterations with the error...
Read more >HOOD OPEN WARNING BUT HOOD CLOSED FORD C-MAX ...
HOOD OPEN WARNING BUT HOOD CLOSED FORD C- MAX FIX, HOOD AJARIf you have Ford C- MAX and you want to see why...
Read more >DOOR AJAR MESSAGE WARNING FORD C-MAX FIX
DOOR AJAR MESSAGE WARNING FORD C- MAX FIXIf you have Ford C- MAX and you want to see why you have door ajar...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi all, just checking if there are any updates on this. I’m a daily user, and I agree with Merlin that it is pretty irritating.
plt.close('all')will also close all open figures.I think the underlying problem here is that with
nbaggwhen the js-widget is removed from the DOM we tear down the figure on the pyplot side and (try) to release all of the references, however withipymplbecause the widget may be shown in multiple contexts.There needs to be some reference counting to tell when there are no visible figures left?