We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51fbfc4 commit fe9c213Copy full SHA for fe9c213
1 file changed
lib/matplotlib/artist.py
@@ -767,6 +767,15 @@ def set_figure(self, fig):
767
"""
768
Set the `.Figure` or `.SubFigure` instance the artist belongs to.
769
770
+ .. warning::
771
+
772
+ This function should typically not be called by users.
773
774
+ This is a low-level API and only modifies the internal state of the
775
+ Artist. Only modifying this is not enough and will typically lead
776
+ to an inconsistent state, because the state of the figure has to
777
+ be changed as well.
778
779
Parameters
780
----------
781
fig : `~matplotlib.figure.Figure` or `~matplotlib.figure.SubFigure`
0 commit comments