Thanks to visit codestin.com Credit goes to github.com
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 b3bbb80 commit e891183Copy full SHA for e891183
lib/matplotlib/tests/test_colorbar.py
@@ -10,7 +10,6 @@
10
from matplotlib.ticker import LogLocator, LogFormatter
11
12
13
-
14
def _get_cmap_norms():
15
"""
16
Define a colormap and appropriate norms for each of the four
@@ -401,11 +400,10 @@ def test_colorbar_axes_kw():
401
400
402
403
def test_colorbar_renorm():
404
- x,y = np.ogrid[-4:4:31j,-4:4:31j]
405
- z = 120000*np.exp(-x**2-y**2)
+ x,y = np.ogrid[-4:4:31j, -4:4:31j]
+ z = 120000*np.exp(-x**2 - y**2)
406
407
fig, ax = plt.subplots()
408
409
im = ax.imshow(z)
410
cbar = fig.colorbar(im)
411
0 commit comments