skoch9 / meshplot

Plot 3D triangle meshes
GNU General Public License v3.0
148 stars 37 forks source link

Correcting normalization #49

Open mvlier opened 3 months ago

mvlier commented 3 months ago

It was not possible to set vmin and vmax for normalization of the cmap. With this changes, now it is possible to choose those values when setting shading = {"normalization": [vmin, vmax]} inside plot or subplot.

The solution given in #41 works only for the case of choosing vmin and vmax, and would fail when the user wants vmin and vmax to be set automatically.