-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
[ENH]: Voxels as mappable for colorbar #22969
Copy link
Copy link
Open
Labels
Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesNew featurekeepItems to be ignored by the “Stale” Github ActionItems to be ignored by the “Stale” Github Actiontopic: mplot3d
Metadata
Metadata
Assignees
Labels
Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesNew featurekeepItems to be ignored by the “Stale” Github ActionItems to be ignored by the “Stale” Github Actiontopic: mplot3d
Problem
Hi;
I'm working with 3D plots and I use colored voxels to plots a 4th dimension.
When one wants to use a colorbar, one usually uses an image or a contourf in the colorbar creation method like so :
It is very handful to handle all the colormap arguments (such as vmin etc) directly from the image but doesn't work with voxels.
Currently I use this :
`
`
Voxels give dictionnary of 3d objet so I have tried to use one of its value as mappable which works but doesn't bring all the data info for the colormap.
Proposed solution
No response