Skip to content

Feature request: Simple API for lines+markers in Plotly express #2719

Closed
@malmaud

Description

@malmaud

Thanks for the great work on Plotly express!

I think it would be nice to have a concise express function to plot a line chart with markers shown. This can be done now with

fig=express.line(...)
fig.update_traces(mode='markers+lines') 

but that seems quite verbose for a fairly common kind of figure. What about, for example, adding a keyword argument to express.line to specify marker properties?

cf matplotlib, where you can conveniently do this with something like plt.plot(x, y, fmt='.-') to get line plot with markers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions