Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

plot_contour colorbar tick labels don't adjust to changes to vmax and vmin #1615

Open
marcushock opened this issue Sep 8, 2023 · 0 comments

Comments

@marcushock
Copy link

When using the pyemma.plots.plot_contour function, adjusting the vmax and vmin does not change the labels on the associated color bar. I believe that I should be able to create my own color bar to alleviate this issue, but it would be great if I didn't need to use that work-around.

Here's the command I used to generate the plot:
pyemma.plots.plot_contour(
*data.T, dadp_msm.metastable_distributions[i][dadp_full_traj], ax=ax, cmap='jet',
mask=True, method='nearest',
#cbar_label='metastable distribution {}'.format(i + 1),
vmin = 0,vmax = 0.03)

The plot itself responds to the change in vmin and vmax, just not the colorbar tick marks.

Pyemma version 2.5.11, Ubuntu 22.04
Package list atttached

pyemma_conda_packges.txt
contour_plot

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant