Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Legend points not displaying in dash

$
0
0

have a pretty basic scatter plot. It displays well in the jupyter notebook, but in dash, the legend points are missing. In dash the legend appears, but the points (and colors) are gone.

fig = px.strip(ref_df, x=x_metric, y=y_metric,
color=my_color,
log_y=True)
fig.update_layout(
title=fig_title,
xaxis_title=x_metric,
yaxis_title=y_metric,
legend= {‘itemsizing’: ‘constant’}, # this added to see if it helps, it didn’t
)

I would like to know if anyone else has had this problem and what they did to solve it. I have tried positioning the legend on top of the graph (horizontal position)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images