Skip to content

Commit d4e3c34

Browse files
timhoffmdstansby
andauthored
Remove explicit figure number
Co-Authored-By: dstansby <dstansby@gmail.com>
1 parent 7428605 commit d4e3c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/axes_grid1/demo_axes_rgb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def demo_rgb():
6060

6161

6262
def demo_rgb2():
63-
fig = plt.figure(2)
63+
fig = plt.figure()
6464
ax = RGBAxes(fig, [0.1, 0.1, 0.8, 0.8], pad=0.0)
6565

6666
r, g, b = get_rgb()

0 commit comments

Comments
 (0)