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 6f15413

Browse filesBrowse files
committed
prevent 2D axis from showing up after calling Axes3D.cla()
1 parent 42f09b6 commit 6f15413
Copy full SHA for 6f15413

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎lib/matplotlib/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ def cla(self):
963963
self.patch.set_linewidth(0)
964964
self.patch.set_transform(self.transAxes)
965965

966-
self.axison = True
966+
self.set_axis_on()
967967

968968
self.xaxis.set_clip_path(self.patch)
969969
self.yaxis.set_clip_path(self.patch)

0 commit comments

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