8000 Merge pull request #10485 from dstansby/remove-hold · tomspur/matplotlib@ffe6021 · GitHub
[go: up one dir, main page]

Skip to content

Commit ffe6021

Browse files
authored
Merge pull request matplotlib#10485 from dstansby/remove-hold
Remove the 'hold' kwarg from codebase
2 parents d84d779 + 34cb251 commit ffe6021

File tree

13 files changed

+104
-1073
lines changed

13 files changed

+104
-1073
lines changed

doc/api/axes_api.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,6 @@ Other
652652
Axes.get_default_bbox_extra_artists
653653
Axes.get_transformed_clip_path_and_affine
654654
Axes.has_data
655-
Axes.hold
656-
Axes.ishold
657655

658656

659657
Inheritance
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Hold machinery removed
2+
----------------------
3+
4+
Setting or unsetting ``hold`` (deprecated in version 2.1) has now
5+
been completely removed. Matplotlib now always behaves as if ``hold=True``.
6+
To clear an axes you can manually use :meth:`~.axes.Axes.cla()`,
7+
or to clear an entire figure use :meth:`~.figure.Figure.clf()`.

0 commit comments

Comments
 (0)
0