You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the comment describing the auto variable, if auto is True then v is interpolated to [0, 10] from v.min() to v.max(). In the actual code however, v is being interpolated to [0, 1] from v.min() to vmax(). I think that this can be fixed by either editing the comment to specify that v is interpolated from [0, 1] or by altering the code to interpolate v from [0, 10].
The text was updated successfully, but these errors were encountered:
I edited the Docs and Changed the docs according to your suggestion as I thought this way would be the Best and created a pull request... My Pull Request
Description
This is with respect to the create_colormap function.
According to the comment describing the
auto
variable, ifauto
is True then v is interpolated to [0, 10] from v.min() to v.max(). In the actual code however, v is being interpolated to [0, 1] from v.min() to vmax(). I think that this can be fixed by either editing the comment to specify that v is interpolated from [0, 1] or by altering the code to interpolate v from [0, 10].The text was updated successfully, but these errors were encountered: