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

Range of values on the standard deviation axis do not adjust during overlay #33

Closed
collinsowusu opened this issue Sep 13, 2022 · 3 comments

Comments

@collinsowusu
Copy link

I am preparing a Taylor diagram by plotting my observed data first before running a loop to overlay results from other models.

The problem I have is that the vertical and horizontal axis (Standard deviation) do not adjust to include new data that are outside the range of the diagram. Find below an image of the problem I'm having. How do I fix this?
image

@ogunjosam
Copy link

Dear @collinsowusu ,

I ran into a similar problem recently.

This was resolved by using a dynamic input in this form

axismax=np.ceil(np.max(sdev))

This uses the rounded up maximum value of the standard deviation to set the range of standard deviation.

Hope this helps.

@PeterRochford
Copy link
Owner

@collinsowusu

You can control the maximum and ticks of the standard deviation axes by using the tickSTD option. Refer to the STD Axis Options documentation. Refer also to Taylor example 3. You should be able to easily achieve what you desire after adjusting the list of tickSTD values.

@collinsowusu
Copy link
Author

@PeterRochford and @ogunjosam

Thank you both for your prompt response. Both solutions work fine.

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

3 participants