Plotly.ex - an Elixir wrapper for Plotly.js

phoenix
plotting
plotlyex
#1

I released a plotting library for Elixir, which is a wrapper for Plotly.js.

GitHub:

By using Plotly.ex, you can plot graphs very easily as python.
Also, it can be used in Phoenix.

Please check it and give me some feedbacks!

8 Likes
#2

Interesting.
I’m gonna try it when I’ll have time to see if I can feel the ggplot thrills (and its mighty grammar of graphics)

#3

looks awesome…

Have you tried it with phoenix liveview yet? from a quick look it looks like it will work…

2 Likes
#4

It should work with liveview, but you need to have the <div id='plotly' /> outside of the liveview. Otherwise the liveview and plotlyjs will overwrite each other, at least the last time I tried.

1 Like
#5

Have you tried including the phx-ignore? I think that should prevent it from being overwritten.

1 Like
#6

Thanks, never found ‘phx-ignore’ despite looking for something like it. I went another route for graphing, but it’d probably help others with plotly.

1 Like