...
|
...
|
@@ -126,7 +126,6 @@ def plotter_file_suffix(engine):
|
126
|
126
|
|
127
|
127
|
@pytest.mark.skipif(not _plotter.mpl_available, reason="Matplotlib unavailable.")
|
128
|
128
|
def test_matplotlib_plot():
|
129
|
|
-
|
130
|
129
|
plotter.set_engine('matplotlib')
|
131
|
130
|
plot = plotter.plot
|
132
|
131
|
syst2d = syst_2d()
|
...
|
...
|
@@ -173,7 +172,6 @@ def test_matplotlib_plot():
|
173
|
172
|
|
174
|
173
|
@pytest.mark.skipif(not _plotter.plotly_available, reason="Plotly unavailable.")
|
175
|
174
|
def test_plotly_plot():
|
176
|
|
-
|
177
|
175
|
plotter.set_engine('plotly')
|
178
|
176
|
plot = plotter.plot
|
179
|
177
|
syst2d = syst_2d()
|
...
|
...
|
@@ -618,6 +616,7 @@ def test_current_interpolation():
|
618
|
616
|
|
619
|
617
|
@pytest.mark.skipif(not _plotter.mpl_available, reason="Matplotlib unavailable.")
|
620
|
618
|
def test_current():
|
|
619
|
+ plotter.set_engine('matplotlib')
|
621
|
620
|
syst = syst_2d().finalized()
|
622
|
621
|
J = kwant.operator.Current(syst)
|
623
|
622
|
current = J(kwant.wave_function(syst, energy=1)(1)[0])
|