Skip to content
Snippets Groups Projects
Commit 0a91c223 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Hide matplotlib to make buildbot builds passing (arch, yaketty)

parent ea9fafbc
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ fitting; it serves as a gentle introduction to other fitting examples. ...@@ -9,7 +9,7 @@ fitting; it serves as a gentle introduction to other fitting examples.
from __future__ import print_function from __future__ import print_function
import bornagain as ba import bornagain as ba
from bornagain import deg, angstrom, nm from bornagain import deg, angstrom, nm
from matplotlib import pyplot as plt
def get_sample(): def get_sample():
""" """
...@@ -110,6 +110,7 @@ def plot(results): ...@@ -110,6 +110,7 @@ def plot(results):
Draw results of several simulations on canvas Draw results of several simulations on canvas
""" """
from matplotlib import pyplot as plt
plt.figure(figsize=(12.80, 10.24)) plt.figure(figsize=(12.80, 10.24))
for nplot, hist in results.items(): for nplot, hist in results.items():
......
...@@ -4,7 +4,6 @@ All formfactors available in BornAgain in the Born Approximation ...@@ -4,7 +4,6 @@ All formfactors available in BornAgain in the Born Approximation
import numpy import numpy
import bornagain as ba import bornagain as ba
from bornagain import deg, angstrom from bornagain import deg, angstrom
import matplotlib
from matplotlib import pyplot as plt from matplotlib import pyplot as plt
phi_min, phi_max = -2.0, 2.0 phi_min, phi_max = -2.0, 2.0
......
...@@ -77,7 +77,6 @@ def plot(simulation): ...@@ -77,7 +77,6 @@ def plot(simulation):
""" """
Plots results for several selected layers Plots results for several selected layers
""" """
import matplotlib
from matplotlib import pyplot as plt from matplotlib import pyplot as plt
fig = plt.figure(figsize=(12.80, 10.24)) fig = plt.figure(figsize=(12.80, 10.24))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment