kmaterna / Strain_2D

Strain rate modeling from GNSS velocity fields
MIT License
43 stars 17 forks source link

How to edit scale on colorbar #31

Closed st4rh0pe closed 9 months ago

st4rh0pe commented 10 months ago

As explained in the title, how do i edit max and minimum value of my colorbar so that the contrast would be more visible? i've tried to edited it but nothing change

kmaterna commented 10 months ago

Hello! Oh you’re right, it looks like all the min/max values in the plots (pygmt_plots.py) are hard-coded. If you change those values in the code, you have to re-run python setup.py install every time (in the right conda environment). Did you try that?

In the longer term we could make them user parameters, but for now just try the install route. Let’s come back to that if it doesn’t work.

On Sat, Sep 16, 2023 at 10:48 AM st4rh0pe @.***> wrote:

As explained in the title, how do i edit max and minimum value of my colorbar so that the contrast would be more visible? i've tried to edited it but nothing change

— Reply to this email directly, view it on GitHub https://github.com/kmaterna/Strain_2D/issues/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7QOVAMQBPIXTIZKHHRRPDX2XQ7NANCNFSM6AAAAAA43A5HCA . You are receiving this because you are subscribed to this thread.Message ID: @.***>