We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30c894d commit 78fc1faCopy full SHA for 78fc1fa
examples/showcase/mandelbrot.py
@@ -65,7 +65,7 @@ def mandelbrot_set(xmin, xmax, ymin, ymax, xn, yn, maxiter, horizon=2.0):
65
66
# Some advertisement for matplotlib
67
year = time.strftime("%Y")
68
- major, minor, micro = matplotlib.__version__.split('.', maxsplit=3)
+ major, minor, micro = matplotlib.__version__.split('.', maxsplit=2)
69
text = ("The Mandelbrot fractal set\n"
70
"Rendered with matplotlib %s.%s, %s — http://matplotlib.org"
71
% (major, minor, year))
0 commit comments