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

Warning about clock plot and fixed formatters. #27

Open
jceirving opened this issue Nov 17, 2020 · 0 comments
Open

Warning about clock plot and fixed formatters. #27

jceirving opened this issue Nov 17, 2020 · 0 comments

Comments

@jceirving
Copy link

In the underlying plotting code, seismosocialdistancing.py, there is now a matplotlib warning raised when plotting the clock plots. Matplotlib version is "matplotlib-base 3.3.3", and Pandas is 1.1.4, both from conda-forge. This isn't a problem for the code itself, it's the imported packages, and has been raised as an issue there for a few months. However, it would prove un-nerving to users unfamiliar to these warnings, and can be alleviated.

The warning is "UserWarning: FixedFormatter should only be used together with FixedLocator".
THe error can be alleviated by a dummy call - I added the following after line 605:
ax.set_yticks(ax.get_yticks())

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