obspy.imaging.util.ObsPyAutoDateFormatter
- class ObsPyAutoDateFormatter(*args, **kwargs)[source]
Bases:
AutoDateFormatter
Derived class to allow for more customized formatting with older matplotlib versions (older than 1.4.0, see matplotlib/matplotlib#2507).
Attributes
Public Methods
Some classes may want to replace a hyphen for minus with the proper unicode symbol (U+2212) for typographical correctness. This is a helper method to perform such a replacement when it is enabled via :rc:`axes.unicode_minus`. |
|
Return the full string representation of the value with the position unspecified. |
|
Return a short string version of the tick value. |
|
Return the tick labels for all the ticks at once. |
|
[Deprecated] |
|
[Deprecated] |
|
Set the locations of the ticks. |
|
[Deprecated] |
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
- ObsPyAutoDateFormatter._set_locator(locator)
Special Methods
- ObsPyAutoDateFormatter.__delattr__(name, /)
Implement delattr(self, name).
- ObsPyAutoDateFormatter.__dir__()
Default dir() implementation.
- ObsPyAutoDateFormatter.__eq__(value, /)
Return self==value.
- ObsPyAutoDateFormatter.__format__(format_spec, /)
Default object formatter.
- ObsPyAutoDateFormatter.__ge__(value, /)
Return self>=value.
- ObsPyAutoDateFormatter.__getattribute__(name, /)
Return getattr(self, name).
- ObsPyAutoDateFormatter.__gt__(value, /)
Return self>value.
- ObsPyAutoDateFormatter.__hash__()
Return hash(self).
- ObsPyAutoDateFormatter.__init_subclass__()
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- ObsPyAutoDateFormatter.__le__(value, /)
Return self<=value.
- ObsPyAutoDateFormatter.__lt__(value, /)
Return self<value.
- ObsPyAutoDateFormatter.__ne__(value, /)
Return self!=value.
- ObsPyAutoDateFormatter.__new__(**kwargs)
- ObsPyAutoDateFormatter.__reduce__()
Helper for pickle.
- ObsPyAutoDateFormatter.__reduce_ex__(protocol, /)
Helper for pickle.
- ObsPyAutoDateFormatter.__repr__()
Return repr(self).
- ObsPyAutoDateFormatter.__setattr__(name, value, /)
Implement setattr(self, name, value).
- ObsPyAutoDateFormatter.__sizeof__()
Size of object in memory, in bytes.
- ObsPyAutoDateFormatter.__str__()
Return str(self).
- ObsPyAutoDateFormatter.__subclasshook__()
Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).