# Plotly.ex - an Elixir wrapper for Plotly.js

**URL:** <https://forum.elixirforum.com/t/plotly-ex-an-elixir-wrapper-for-plotly-js/23078>\
**Category:** Announcing\
**Tags:** library, phoenix, plotting, plotlyex\
**Created:** [June 11, 2019, 4:15pm UTC](https://forum.elixirforum.com/t/plotly-ex-an-elixir-wrapper-for-plotly-js/23078 "2019-06-11T16:15:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![s417-lama](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/s417-lama/32/17560_2.png) [@s417-lama](https://forum.elixirforum.com/u/s417-lama)\
**Post date:** [June 11, 2019, 4:15pm UTC](https://forum.elixirforum.com/t/plotly-ex-an-elixir-wrapper-for-plotly-js/23078/1 "2019-06-11T16:15:36Z")

</div>

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

GitHub:  
[https://github.com/s417-lama/plotly\_ex](https://github.com/s417-lama/plotly_ex)

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!

---

<div class="post-metadata">

**Author:** ![domvas](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/domvas/32/11654_2.png) [@domvas](https://forum.elixirforum.com/u/domvas)\
**Post date:** [June 12, 2019, 10:04am UTC](https://forum.elixirforum.com/t/plotly-ex-an-elixir-wrapper-for-plotly-js/23078/2 "2019-06-12T10:04:28Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![outlog](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/o/c0e974/32.png) [@outlog](https://forum.elixirforum.com/u/outlog)\
**Post date:** [June 12, 2019, 10:19am UTC](https://forum.elixirforum.com/t/plotly-ex-an-elixir-wrapper-for-plotly-js/23078/3 "2019-06-12T10:19:22Z")

</div>

looks awesome..

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

---

<div class="post-metadata">

**Author:** ![elcritch](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/elcritch/32/15758_2.png) [@elcritch](https://forum.elixirforum.com/u/elcritch)\
**Post date:** [June 13, 2019, 2:02am UTC](https://forum.elixirforum.com/t/plotly-ex-an-elixir-wrapper-for-plotly-js/23078/4 "2019-06-13T02:02:19Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![axelson](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/axelson/32/26351_2.png) [@axelson](https://forum.elixirforum.com/u/axelson)\
**Post date:** [June 13, 2019, 3:26am UTC](https://forum.elixirforum.com/t/plotly-ex-an-elixir-wrapper-for-plotly-js/23078/5 "2019-06-13T03:26:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![elcritch](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/elcritch/32/15758_2.png) [@elcritch](https://forum.elixirforum.com/u/elcritch)\
**Post date:** [June 13, 2019, 5:31am UTC](https://forum.elixirforum.com/t/plotly-ex-an-elixir-wrapper-for-plotly-js/23078/6 "2019-06-13T05:31:44Z")

</div>

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.
