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 2d56e75

Browse filesBrowse files
committed
MNT: At least it will run now
Not entirely clear on what the code at the bottom of lib/mpl_toolkits/axes_grid1/mpl_axes.py is supposed to do, but at least it will run now...
1 parent 740b2a0 commit 2d56e75
Copy full SHA for 2d56e75

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-1
lines changed

‎lib/mpl_toolkits/axes_grid1/mpl_axes.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/axes_grid1/mpl_axes.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ def toggle(self, all=None, ticks=None, ticklabels=None, label=None):
151151

152152

153153
if __name__ == '__main__':
154-
fig = figure()
154+
import matplotlib.pyplot as plt
155+
fig = plt.figure()
155156
ax = Axes(fig, [0.1, 0.1, 0.8, 0.8])
156157
fig.add_axes(ax)
157158
ax.cla()

0 commit comments

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