Skip to content

Custom Tick Formatting #14

Open
Open
@BriannaBrown-hub

Description

@BriannaBrown-hub

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions