Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bbc2899

Browse filesBrowse files
author
pelson
committed
added add_subplot comment re hashing
1 parent cb436a5 commit bbc2899
Copy full SHA for bbc2899

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎lib/matplotlib/figure.py

Copy file name to clipboardExpand all lines: lib/matplotlib/figure.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,8 @@ def add_subplot(self, *args, **kwargs):
791791

792792
a = args[0]
793793
assert(a.get_figure() is self)
794+
# make a key for the subplot (which includes the axes object id
795+
# in the hash)
794796
key = self._make_key(*args, **kwargs)
795797
else:
796798
projection_class, kwargs, key = \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.