Skip to content

Commit ada1600

Browse files
committed
fix: black
1 parent 6c96602 commit ada1600

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

ultraplot/_animation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ def _axes_signature(self, ax):
139139
@staticmethod
140140
def _ticker_fingerprint(ticker):
141141
"""Return a value that changes when a locator or formatter is retuned."""
142+
142143
# Tickers are commonly reconfigured in place, e.g. set_useOffset(), which
143144
# alters every tick label without touching an artist's stale flag. Fold
144145
# their simple attributes into the signature so those changes are seen.

ultraplot/tests/test_animation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,6 +1542,8 @@ def test_axes_signature_does_not_dirty_a_clean_axes():
15421542
axs[0].stale = True
15431543
manager._axes_signature(axs[0])
15441544
assert axs[0].stale
1545+
1546+
15451547
def test_selective_draw_detects_mutable_ticker_state():
15461548
"""Retained layers must notice array-valued ticker parameter changes."""
15471549
import matplotlib.ticker as mticker

0 commit comments

Comments
 (0)