bqplot / bqplot

Plotting library for IPython/Jupyter notebooks
https://bqplot.github.io/bqplot
Apache License 2.0
3.62k stars 465 forks source link

bqplot as a JavaScript library? #1102

Open dsblank opened 4 years ago

dsblank commented 4 years ago

Hey bqplotters! A general question for you: Would bqplot work well as a stand-alone javascript library, like plotly can? If so, are there any examples of how you could work at that level?

acelere commented 4 years ago

That would be awesome. I have developed an application that currently runs on Jupyter Lab that would greatly benefit from a plotly-like stand alone library. The application interfaces with flight test data to allow for data slicing (grabbing intervals of interest) and do simple analysis before exporting... See a few screen shots below. FTAT1

FTAT3

FTAT5

maartenbreddels commented 4 years ago

It for sure is possible, we do that for testing: https://github.com/bqplot/bqplot/tree/master/js/src/test

That might give you some inspiration. But it's clear from using it, that the API is not that user friendly. I think this is a general jupyter-widgets issue actually.

Maybe it's a good idea to start using it that way and give us some feedback on how you'd like to see the API?

dsblank commented 4 years ago

@acelere that's beautiful! Nice work!

@maartenbreddels That sounds like a good plan. Thanks for the pointer! I was wondering where I could find such tests. I'll look those over to see what it might take to separate out the bqplot core from the jupyter-specific bits.

oscar6echo commented 4 years ago

I would love it :+1:
And I think bqplot as a stand alone JS lib would significantly expand it audience.