File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1080,12 +1080,12 @@ def merge(*args):
1080
1080
class Plot :
1081
1081
def __init__ (self ):
1082
1082
self .plot_to_jupyter = False
1083
- self .use_widget = True
1083
+ self .plot_widget = True
1084
1084
self .jupyter_args = {}
1085
1085
1086
1086
def __call__ (self , * args , ** kwargs ):
1087
1087
if self .plot_to_jupyter : # pragma: no cover
1088
- if self .use_widget :
1088
+ if self .plot_widget :
1089
1089
return plot_to_notebook (args , ** kwargs )
1090
1090
else :
1091
1091
return plot_to_notebook_return_image (args , ** kwargs )
@@ -1240,9 +1240,9 @@ def setoutput(*args, **kwargs):
1240
1240
# test whether we're in the Jupyter environment
1241
1241
if get_ipython () is not None :
1242
1242
plot .plot_to_jupyter = True
1243
- plot .use_widget = kwargs .get ("use_widget " , True )
1244
- if "use_widget " in kwargs :
1245
- del kwargs ["use_widget " ]
1243
+ plot .plot_widget = kwargs .get ("plot_widget " , True )
1244
+ if "plot_widget " in kwargs :
1245
+ del kwargs ["plot_widget " ]
1246
1246
plot .jupyter_args = kwargs
1247
1247
else :
1248
1248
print (
You can’t perform that action at this time.
0 commit comments