Skip to content

Commit 6f15413

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_base.py

Lines 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)