Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open up API to allow for custom Normalize classes #34

Open
olfMombach opened this issue Apr 26, 2023 · 0 comments
Open

Open up API to allow for custom Normalize classes #34

olfMombach opened this issue Apr 26, 2023 · 0 comments

Comments

@olfMombach
Copy link

olfMombach commented Apr 26, 2023

Currently methods like heatmap don't allow for custom Normalize objects to be fed into the matplotlib drawing process (i.e. when calling pcolormesh you can provide a norm argument) and only allow for custom Colormaps.

This makes it hard to have e.g. logarithmically scaled color in the plots without directly scaling the actual data, which messes up the colorbar values etc. because of the way matplotlib separates normalization of data and after that color assignment to the normalized values using color maps. Is it possible to open up method arguments to allow to pass in those custom Normalize objects?

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

No branches or pull requests

1 participant