This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Description
Hi,
here is a short note/message... When using the Corrplot class and adding a colorbar, the ticks were a bit misaligned.
I modified the plot function to return the cbar object and then re-define the ticks by so
scalarmap = cm.ScalarMappable(norm=mcolors.Normalize(*[-1, 1]), cmap='seismic_r') cb_obj.update_normal(scalarmap) cb_obj.set_ticks([-1, -0.5, 0, 0.5, 1]) cb_obj.ax.tick_params(size=0)
This, somehow, did make a proper alignment of the ticks