Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions molgroups/refl1d_interface/functionalprofile.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@
from ..mol import nSLDObj

from bumps.dream.state import MCMCDraw
from bumps.webview.server.custom_plot import CustomWebviewPlot
from refl1d.webview.server.colors import COLORS
try:
from bumps.plots.custom_plot import CustomWebviewPlot
from bumps.plots.colors import COLORS
except ImportError: # CRUFT: bumps pre-1.1
from bumps.webview.server.custom_plot import CustomWebviewPlot
from bumps.webview.server.colors import COLORS
from refl1d.names import Slab, Stack, SLD, Experiment, FitProblem
from refl1d.sample.flayer import FunctionalProfile

Expand Down
9 changes: 7 additions & 2 deletions molgroups/refl1d_interface/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@

from bumps.dream.state import MCMCDraw
from bumps.dream.stats import credible_interval
from bumps.webview.server.custom_plot import CustomWebviewPlot
from bumps.plotutil import form_quantiles
try:
from bumps.plots.custom_plot import CustomWebviewPlot
from bumps.plots.colors import COLORS
except ImportError: # CRUFT: bumps pre-1.1
from bumps.webview.server.custom_plot import CustomWebviewPlot
from bumps.webview.server.colors import COLORS

from refl1d.names import FitProblem, Experiment
from refl1d.webview.server.colors import COLORS

from .layers import MolgroupsLayer

Expand Down