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

Custom Tick Formatting #14

Open
BriannaBrown-hub opened this issue Aug 26, 2020 · 0 comments
Open

Custom Tick Formatting #14

BriannaBrown-hub opened this issue Aug 26, 2020 · 0 comments

Comments

@BriannaBrown-hub
Copy link

I'm using matplotlib/iruby in a project that involves plotting a large number of data points. I'm looking for the ability to add custom ticks to the x-axis so that my plot does not attempt to include every 5 minute timestamp over the course of the month in axes.

Would it be difficult to include the matplotlib.ticker library as a module? If you'd like, I could open a PR with the below code:

module Matplotlib
  Ticker = PyCall.import_module('matplotlib.ticker').Ticker
  Ticker.__send__ :register_python_type_mapping
end
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