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

Skip to content

Commit cb2b814

Browse files
tacaswelltimhoffm
andauthored
STY: tuple vs list
Co-Authored-By: Tim Hoffmann <[email protected]>
1 parent 66b98b2 commit cb2b814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/next_api_changes/2019-07-18-SL.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Changed the default value of :rc:`axes.formatter.limits` from -7, 7 to
99
import matplotlib.pyplot as plt
1010
import numpy as np
1111

12-
fig, [ax_old, ax_new] = plt.subplots(1, 2, constrained_layout=True)
12+
fig, (ax_old, ax_new) = plt.subplots(1, 2, constrained_layout=True)
1313

1414
ax_new.set_title('new values (-5, 6)')
1515
ax_old.set_title('old values (-7, 7)')

0 commit comments

Comments
 (0)