File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -855,18 +855,18 @@ def plot( data, **kwargs ):
855
855
save = config ['savefig' ]
856
856
if isinstance (save ,dict ):
857
857
if config ['tight_layout' ] and 'bbox_inches' not in save :
858
- plt .savefig (** save ,bbox_inches = 'tight' )
858
+ fig .savefig (** save ,bbox_inches = 'tight' )
859
859
else :
860
- plt .savefig (** save )
860
+ fig .savefig (** save )
861
861
else :
862
862
if config ['tight_layout' ]:
863
- plt .savefig (save ,bbox_inches = 'tight' )
863
+ fig .savefig (save ,bbox_inches = 'tight' )
864
864
else :
865
- plt .savefig (save )
865
+ fig .savefig (save )
866
866
if config ['closefig' ]: # True or 'auto'
867
867
plt .close (fig )
868
868
elif not config ['returnfig' ]:
869
- plt .show (block = config [ 'block' ] ) # https://stackoverflow.com/a/13361748/1639359
869
+ fig .show () # https://stackoverflow.com/a/13361748/1639359
870
870
if config ['closefig' ] == True or (config ['block' ] and config ['closefig' ]):
871
871
plt .close (fig )
872
872
You can’t perform that action at this time.
0 commit comments