(self,
transform,
extreme_finder=None,
grid_locator1=None,
grid_locator2=None,
tick_formatter1=None,
tick_formatter2=None)
| 133 | """ |
| 134 | |
| 135 | def __init__(self, |
| 136 | transform, |
| 137 | extreme_finder=None, |
| 138 | grid_locator1=None, |
| 139 | grid_locator2=None, |
| 140 | tick_formatter1=None, |
| 141 | tick_formatter2=None): |
| 142 | if extreme_finder is None: |
| 143 | extreme_finder = ExtremeFinderSimple(20, 20) |
| 144 | if grid_locator1 is None: |
| 145 | grid_locator1 = MaxNLocator() |
| 146 | if grid_locator2 is None: |
| 147 | grid_locator2 = MaxNLocator() |
| 148 | if tick_formatter1 is None: |
| 149 | tick_formatter1 = FormatterPrettyPrint() |
| 150 | if tick_formatter2 is None: |
| 151 | tick_formatter2 = FormatterPrettyPrint() |
| 152 | self.extreme_finder = extreme_finder |
| 153 | self.grid_locator1 = grid_locator1 |
| 154 | self.grid_locator2 = grid_locator2 |
| 155 | self.tick_formatter1 = tick_formatter1 |
| 156 | self.tick_formatter2 = tick_formatter2 |
| 157 | self.set_transform(transform) |
| 158 | |
| 159 | def _format_ticks(self, idx, direction, factor, levels): |
| 160 | """ |
no test coverage detected