0a77469f6271b2309dd3f2e2f47386f3852b17c7,tutorials/colors/colormapnorms.py,,,#,227

Before Change


                       cmap="RdBu_r")
fig.colorbar(pcm, ax=ax[0], extend="both")

pcm = ax[1].pcolormesh(X, Y, Z, cmap="RdBu_r", vmin=-np.max(Z))
fig.colorbar(pcm, ax=ax[1], extend="both")
fig.show()

After Change



pcm = ax.pcolormesh(longitude, latitude, topo, rasterized=True, norm=midnorm,
    cmap=terrain_map)
ax.set_aspect(1 / np.cos(np.deg2rad(49)))
fig.colorbar(pcm, shrink=0.6, extend="both")
plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: matplotlib/matplotlib
Commit Name: 0a77469f6271b2309dd3f2e2f47386f3852b17c7
Time: 2019-03-18
Author: tcaswell@gmail.com
File Name: tutorials/colors/colormapnorms.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: c5b8d865c30bd0be086362e7b2eb987bbfbfac65
Time: 2019-03-13
Author: pmhobson@gmail.com
File Name: tutorials/colors/colormapnorms.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 55bab51c4b43d50ea6fc52cb752877a6df618ce2
Time: 2018-08-04
Author: jklymak@gmail.com
File Name: examples/axes_grid1/inset_locator_demo2.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 60e9ec01c86b3060f6bffd4802502d31029d9b9b
Time: 2018-05-16
Author: elch.rz@ruetz-online.de
File Name: examples/axes_grid1/inset_locator_demo2.py
Class Name:
Method Name: