Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 769c50d

Browse files
committed
Simplify pane creation
1 parent 598c770 commit 769c50d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/mpl_toolkits/mplot3d/axis3d.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ def _init3d(self):
148148

149149
# Store dummy data in Polygon object
150150
self.pane = mpatches.Polygon(
151-
np.array([[0, 0], [0, 1], [1, 0], [0, 0]]),
152-
closed=False, alpha=0.8, facecolor='k', edgecolor='k')
151+
np.array([[0, 0], [0, 1]]), closed=False)
153152
self.set_pane_color(self._axinfo['color'])
154153

155154
self.axes._set_artist_props(self.line)

0 commit comments

Comments
 (0)