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 @@ -114,7 +114,7 @@ def _make_py_item_url(fn):
114114
115115plotter = plot .get_active_plotter ()
116116plot .set_active_plotter (
117- plot . get_active_plotter () .with_styles (
117+ plotter .with_styles (
118118 kw_op_label = {
119119 ** plotter .default_theme .kw_op_label ,
120120 "op_url" : lambda plot_args : _make_py_item_url (plot_args .nx_item ),
Original file line number Diff line number Diff line change @@ -1004,9 +1004,9 @@ def plot(self, plot_args: PlotArgs):
10041004
10051005 plot_args = plot_args .with_defaults (
10061006 # Don't leave `solution` unassigned
1007- solution = isinstance ( plot_args .plottable , Solution )
1008- and plot_args .plottable
1009- or None ,
1007+ solution = plot_args .plottable
1008+ if isinstance ( plot_args .plottable , Solution )
1009+ else None ,
10101010 theme = self .default_theme ,
10111011 )
10121012
You can’t perform that action at this time.
0 commit comments