Skip to content

Commit 78fc1fa

Browse files
committed
Fix maxsplit=2
1 parent 30c894d commit 78fc1fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/showcase/mandelbrot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def mandelbrot_set(xmin, xmax, ymin, ymax, xn, yn, maxiter, horizon=2.0):
6565

6666
# Some advertisement for matplotlib
6767
year = time.strftime("%Y")
68-
major, minor, micro = matplotlib.__version__.split('.', maxsplit=3)
68+
major, minor, micro = matplotlib.__version__.split('.', maxsplit=2)
6969
text = ("The Mandelbrot fractal set\n"
7070
"Rendered with matplotlib %s.%s, %s — http://matplotlib.org"
7171
% (major, minor, year))

0 commit comments

Comments
 (0)