Ribbit-Network / ribbit-network-dashboard

The web dashboard for the world's largest crowdsourced network of open-source, low-cost, CO2 Gas Detection Sensors.
MIT License
17 stars 16 forks source link

Make list of plots -> subplots #52

Closed sriki18 closed 2 years ago

sriki18 commented 2 years ago

Use Plotly's add_trace instead of Plotly express to plot the timeseries while converting it from a list of plots to one figure with subplots. Plots now share X axis, so zooming in one will also zoom in the others. Fixes #30

sriki18 commented 2 years ago

@keenanjohnson not sure if you had a look!

keenanjohnson commented 2 years ago

I did see it but haven’t gotten a chance to take a look! I’ll get to it soon! Thanks for the contribution!

On Sat, Oct 9, 2021 at 6:44 PM Srikiran Chandrasekaran < @.***> wrote:

@keenanjohnson https://github.com/keenanjohnson not sure if you had a look!

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/Ribbit-Network/ribbit-network-dashboard/pull/52#issuecomment-939389871, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATQ3FUTAXQLPAKGIWXNROTUGDVWZANCNFSM5FURFKVA .

spestana commented 2 years ago

Thanks @sriki18 !

What do you think about adding a second y-axis to the temperature and pressure plots, so we can see the measurements in different units?

So we would retain the current "scientific/metric" units on the left, then add another axis with alternate units on the right (old-fashioned US/Imperial units).

(@keenanjohnson I can help review this PR if I had the permissions to assign myself as reviewer)

keenanjohnson commented 2 years ago

Oh sure thing @spestana ! I can add you! Seems like this PR has gone a bit stale if you want to help push it along :)

sriki18 commented 2 years ago

I can do that, should it be a branch once this branch has been merged? @keenanjohnson @spestana

keenanjohnson commented 2 years ago

@sriki18 can you see my comment in the review previously about the read-ability?

sriki18 commented 2 years ago

@spestana done. Have a look!