-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Match zdata cursor display scalling with colorbar ? #5409
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
Comments
I don't quite understand what you mean. Can you provide a snippet of code which demonstrates the problem? |
Why not just scale your data in |
Isn't that besides the point? Don't we already obtain the axis formatters On Fri, Nov 6, 2015 at 1:14 PM, Eric Firing [email protected]
|
You are right, this is a reasonable idea, and it looks easy enough for the use case here.
One can try to find a |
Side comment: it would be nice not to have so much logic executed inside |
Do the color mappables know what color bar they are associated with? This seems like a very deep coupling that I am not sure we want. In any case, the logic for this mapping should live in the artists, not the On Fri, Nov 6, 2015, 13:32 Benjamin Root [email protected] wrote:
|
On 2015/11/06 9:40 AM, Thomas A Caswell wrote:
Yes. Colorbar.colorbar_factory attaches the |
Why not. But my knowledge on mpl low level working is very poor.
I tried to do this, but |
Oops! I meant to say that one looks for a callable |
Work good with this. I created a pull request : #5425. |
Hello,
With Matplotlib 1.5.0, zdata to the cursor is displayed in the status bar. It is a very good new feature.
But, this zdata is the base data value, and this don't match if a scalling is used with the colorbar.
Is it possible to scale this displayed zdata like the colorbar ? I din't found an existing function for rescale this zdata.
I think the better solution should be to default use the scaling used on the colorbar.
Thanks.
The text was updated successfully, but these errors were encountered: