Hi Tom,

Thanks for your note. Yeah, sure. I am definitely interested in helping where I 
can. I started out working on Tony's fork of Plotly.jl since he had already 
converted to using Requests.jl, but by the time I got the WebSockets working, I 
realized I didn't need any of that code and could just interact with plotly.js 
directly, so gave it a new name :) With PlotlyJS, I'm pretty sure I can 
reproduce every example from their web page already. You simply need to 
construct Dicts that correspond to the JSON.

I submitted a PR to plotly.js too that would allow us to create multiple axes 
dynamically. Currently, the div name you provide needs to already exist in the 
DOM. In my PR, if you supply a name that isn't in the DOM, it will create a div 
with that name. Not sure if they will accept it though :)

I haven't spent much time with Bokeh and Vega, but expect it should be 
straightforward to use the same trick with those guys. In fact, I have my own 
JS graphing library I spent about 6 months developing a while ago I'd like to 
resurrect (boring demo alert http://youtu.be/IriE1ZP-uOM ) :)

I am also interested in updating existing charts. If we just change "newPlot" 
to "plot", it will append subplots to the current div, but that's not what I 
wanted. I should follow the same naming as plotly.js though I suppose. As I 
said, this is a "Pre-ANN" :D

For applications beyond visualizations, I may have need in my day job for 
something like this to get Matlab/Julia talking (without using MEX) so ideas 
are welcome :)

Sent from my iPhone

> On 24 Nov 2015, at 5:21 AM, Tom Breloff <[email protected]> wrote:
> 
> Eric: I just looked through your code.  It doesn't seem like there's very 
> much plotly-specific code in there.  I wonder if you could generalize a 
> little so that Bokeh or Vega could use your websocket approach as well.  That 
> seems like it has uses beyond desktop visualizations.  I also think it would 
> be great to separate plot-creation from plot-updating so that you could use 
> websockets to update existing plots.  Let me know if you'd like to integrate 
> your idea with Plots.jl.
> 
> ps - I love your music choice for your video... very dramatic
> 
>> On Mon, Nov 23, 2015 at 2:34 PM, Tom Breloff <[email protected]> wrote:
>> Much of Plotly.jl is for interacting with the cloud API (login, credentials, 
>> etc). The remainder cannot be called directly so, for my purpose, it made 
>> more sense to just build the json directly. Others will likely still find 
>> this package to be useful. 
>> 
>> 
>>> On Monday, November 23, 2015, Sisyphuss <[email protected]> wrote:
>>> So the following package is no longer useful?
>>> 
>>> https://github.com/plotly/Plotly.jl
> 

Reply via email to