diff --git a/nannyml/plots/components/figure.py b/nannyml/plots/components/figure.py index 446223d1..1fb466cf 100644 --- a/nannyml/plots/components/figure.py +++ b/nannyml/plots/components/figure.py @@ -181,6 +181,7 @@ def add_confidence_band( line=dict(shape='hv', color='rgba(0,0,0,0)'), hoverinfo='skip', showlegend=False, + connectgaps=True, **kwargs, ), **subplot_args, @@ -196,6 +197,7 @@ def add_confidence_band( fillcolor='rgba{}'.format(matplotlib.colors.to_rgba(matplotlib.colors.to_rgb(color), alpha=0.2)), hoverinfo='skip', showlegend=show_in_legend, + connectgaps=True, **kwargs, ), **subplot_args,