File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -225,7 +225,6 @@ def savefig(
225225 layers : list | None = None ,
226226 layer_by_layer : bool = False ,
227227 verbose : bool = False ,
228- plot : bool = True ,
229228 ):
230229 filename_no_extension , extension = os .path .splitext (filename )
231230 if backend == "matplotlib" :
@@ -254,7 +253,6 @@ def savefig(
254253 else :
255254
256255 fig , axs = self .plot (
257- show = False ,
258256 backend = "matplotlib" ,
259257 savefig = True ,
260258 layers = layers ,
@@ -263,7 +261,12 @@ def savefig(
263261 if verbose :
264262 print (f"Saved { full_filepath } " )
265263
266- def plot (self , backend : Backends = "matplotlib" , savefig = False , layers = None ):
264+ def plot (
265+ self ,
266+ backend : Backends = "matplotlib" ,
267+ savefig = False ,
268+ layers = None ,
269+ ):
267270 if backend == "matplotlib" :
268271 return self .plot_matplotlib (savefig = savefig , layers = layers )
269272 elif backend == "plotly" :
You can’t perform that action at this time.
0 commit comments