Skip to content

Commit c718eae

Browse files
committed
Clarifying comment
1 parent bc31177 commit c718eae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/_pylab_helpers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def destroy(cls, num):
5353
two managers share the same number.
5454
"""
5555
if all(hasattr(num, attr) for attr in ["num", "destroy"]):
56+
# num is a manager-like instance (not necessarily a
57+
# FigureManagerBase subclass)
5658
manager = num
5759
if cls.figs.get(manager.num) is manager:
5860
cls.figs.pop(manager.num)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy