import pandas as pd
import plotly.offline as ploff
import plotly.graph_objs as plgo
+
from plotly.exceptions import PlotlyError
from utils import mean
y=df[col],
name=name,
**plot["traces"]))
-
try:
# Create plot
plpl = plgo.Figure(data=traces, layout=plot["layout"])