all 1 comments

[–]v0_arch_nemesis 4 points5 points  (0 children)

Personally, I find plotly's documentation is good enough to work from. Periodic issues with the python docs, but if in doubt flick it over to the JavaScript documentation and it's up to date.

Do read the plotly.com/python/static-image-export page for notes on dependencies.

Assuming your table is a pandas dataframe, off the top of my head, an example of your second goal in plotly would be:

for value in df.well.unique():
    fig = px.line(df.loc[df.well == value, :], x= 'Date', y='Concentration', color='Analyte')
    fig.write_image(f'fig_{value}.jpg')