Commit 3aefb53c authored by René Fritze's avatar René Fritze Committed by probot-auto-merge[bot]

[demos] remove broken `show(figure)` usage

parent e52eaf43
......@@ -75,7 +75,7 @@ def main(
##############
print(results['summary'])
import matplotlib.pyplot as plt
plt.show(results['figure'])
plt.show()
# write results to disk
#######################
......
......@@ -184,7 +184,7 @@ def main(
if plot_error_sequence:
import matplotlib.pyplot
matplotlib.pyplot.show(results['figure'])
matplotlib.pyplot.show()
if plot_err:
mumax = results['max_error_mus'][0, -1]
U = fom.solve(mumax)
......
......@@ -162,7 +162,7 @@ Greedy basis generation:
if plot_error_sequence:
from matplotlib import pyplot as plt
plt.show(results['figure'])
plt.show()
if plot_err:
mumax = results['max_error_mus'][0, -1]
U = fom.solve(mumax)
......
......@@ -86,7 +86,7 @@ def main(
##############
print(results['summary'])
import matplotlib.pyplot
matplotlib.pyplot.show(results['figure'])
matplotlib.pyplot.show()
# write results to disk
#######################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment