sagecontinuum / sage-data-client

Official Sage data API client.
Other
5 stars 4 forks source link

ADD: Add an interactive plot example #2

Closed mgrover1 closed 2 years ago

mgrover1 commented 2 years ago

Add an interactive plotting example, showing users how to query data, add some filtering, and visualize using hvPlot

seanshahkarami commented 2 years ago

Looks like a good start! I found a couple small items you should look at.

Minor fix to query

In the filter section of your query, you'll need to change:

"name": ["env.temperature"]

to

"name": "env.temperature"

Note additional packages

You may want document the packages you're using. You could even add a cell near that start like:

!pip3 install matplotlib boken holoviews hvplot

to just install them as part of the notebook.

Maybe later we can add a requirements.txt for the examples, if we find we're using a lot of the same libraries.

mgrover1 commented 2 years ago

@seanshahkarami - made those changes! Thanks for the suggestions.

seanshahkarami commented 2 years ago

Looks good! I went ahead and merged this!