✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Changing scatterplot figure legend


I have a scatterplot with color and symbol set as variables of a DataFrame, which results in an overly cluttered figure legend as every combination of symbol and color are displayed. Is there a way to prevent the symbols from appearing in the legend?

Code for the scatterplot:

    fig = px.scatter(df_filtered,
            x = "date",
            y = "mean_value",
            color = "instrument",
           trendline= "ols",
           symbol_map = {"False" : "x",
                         "True" : "circle",
                         "N/A" : "circle"},