Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.
This repository was 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

@marcushock

Description

@marcushock

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions