Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 78fc1fa

Browse filesBrowse files
committed
Fix maxsplit=2
1 parent 30c894d commit 78fc1fa
Copy full SHA for 78fc1fa

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎examples/showcase/mandelbrot.py

Copy file name to clipboardExpand all lines: examples/showcase/mandelbrot.py
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.