Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b527465

Browse files
committed
fixing CI fails
1 parent 7247fa5 commit b527465

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

lib/matplotlib/artist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -903,15 +903,15 @@ def get_in_layout(self):
903903
``fig.savefig(fname, bbox_inches='tight')``.
904904
"""
905905
return self._in_layout
906-
906+
907907
def _get_in_autoscale(self):
908908
"""
909909
Return boolean flag, ``True`` if artist is included in autoscaling
910910
calculations.
911911
912912
E.g. `.axes.Axes.autoscale_view()`.
913913
"""
914-
return self._in_autoscale
914+
return self._in_autoscale
915915
def _fully_clipped_to_axes(self):
916916
"""
917917
Return a boolean flag, ``True`` if the artist is clipped to the Axes

lib/matplotlib/axes/_base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import matplotlib.text as mtext
3030
import matplotlib.ticker as mticker
3131
import matplotlib.transforms as mtransforms
32-
import matplotlib.collections as mcollections
3332

3433
_log = logging.getLogger(__name__)
3534

@@ -2619,7 +2618,7 @@ def relim(self, visible_only=False):
26192618
self._update_patch_limits(artist)
26202619
elif isinstance(artist, mimage.AxesImage):
26212620
self._update_image_limits(artist)
2622-
2621+
26232622
def update_datalim(self, xys, updatex=True, updatey=True):
26242623
"""
26252624
Extend the `~.Axes.dataLim` Bbox to include the given points.

lib/matplotlib/tests/test_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10158,4 +10158,4 @@ def test_animated_artists_not_drawn_by_default():
1015810158
fig.draw_without_rendering()
1015910159

1016010160
mocked_im_draw.assert_not_called()
10161-
mocked_ln_draw.assert_not_called()
10161+
mocked_ln_draw.assert_not_called()

0 commit comments

Comments
 (0)