We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68786e6 commit 4ebcc97Copy full SHA for 4ebcc97
1 file changed
examples/showcase/mandelbrot.py
@@ -67,10 +67,9 @@ def mandelbrot_set(xmin, xmax, ymin, ymax, xn, yn, maxiter, horizon=2.0):
67
68
# Some advertisement for matplotlib
69
year = time.strftime("%Y")
70
- major, minor, micro = matplotlib.__version__.split('.', 2)
71
text = ("The Mandelbrot fractal set\n"
72
- "Rendered with matplotlib %s.%s, %s - http://matplotlib.org"
73
- % (major, minor, year))
+ "Rendered with matplotlib %s, %s - http://matplotlib.org"
+ % (matplotlib.__version__, year))
74
ax.text(xmin+.025, ymin+.025, text, color="white", fontsize=12, alpha=0.5)
75
76
plt.show()
0 commit comments