File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -169,9 +169,9 @@ def _update_artists(self):
169169 for gs in self ._nested_gridspecs :
170170 gs ._update_artists ()
171171
172- def layout (self , gsparams : GridSpecParams ):
172+ def update_params_and_artists (self , gsparams : GridSpecParams ):
173173 """
174- Update the layout of the gridspec
174+ Update gridpspec params and the artists
175175 """
176176 self .update (** asdict (gsparams ))
177177 self ._update_artists ()
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def execute(self, fig: Figure):
4242 spaces = LayoutSpaces (self .plot )
4343
4444 gsparams = spaces .get_gridspec_params ()
45- self .plot .facet ._panels_gridspec .layout (gsparams )
45+ self .plot .facet ._panels_gridspec .update_params_and_artists (gsparams )
4646 spaces .items ._adjust_positions (spaces )
4747
4848
@@ -83,5 +83,5 @@ def execute(self, fig: Figure):
8383 PlotnineWarning ,
8484 )
8585 break
86- plot .facet ._panels_gridspec .layout (gsparams )
86+ plot .facet ._panels_gridspec .update_params_and_artists (gsparams )
8787 spaces .items ._adjust_positions (spaces )
You can’t perform that action at this time.
0 commit comments