plotly plots in apache zeppelin

2021-05-20 Thread Uwe.Bauder
Hi, we are elaborating if apache zeppelin is a suitable tool for us for collaborative notebooks. So far, I am very happy. However, we often use plotly in our jupyter notebooks and I do not get plotly plots displayed in apache zeppelin. I installed apache zeppelin 0.9.0. (binary package with al

Re: plotly plots in apache zeppelin

2021-05-20 Thread Jeff Zhang
How do you use plotly in jupyter ? Do you use it in offline mode like this link ? https://www.tutorialspoint.com/plotly/plotly_plotting_inline_with_jupyter_notebook.htm 于2021年5月20日周四 下午9:00写道: > Hi, > > > > we are elaborating if apache zeppelin is a suitable tool for us for > collaborative no

AW: plotly plots in apache zeppelin

2021-05-20 Thread Uwe.Bauder
I use it with exactly the same example code in my first email: import plotly.graph_objects as go # Create traces fig = go.Figure() fig.add_trace(go.Scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16], mode='lines+markers', name='cool line', line=dict(col

Re: AW: plotly plots in apache zeppelin

2021-05-20 Thread f . idelberger
Dear Uwe,   instead of   fig.show(),   you rather use:   print('%html {0}'.format(fig.to_html()))   - Original message - From: To: Cc: Subject: AW: plotly plots in apache zeppelin Date: Thu, May 20, 2021 4:58 PM   I use it with exactly the same example code in my first email

Re: AW: plotly plots in apache zeppelin

2021-05-20 Thread Jeff Zhang
Awesome, it works. @f.idelberger, could you create a jira ticket to add such an example in the zeppelin doc, I think it would benefit other people. 于2021年5月20日周四 下午11:12写道: > Dear Uwe, > > instead of > > fig.show(), > > you rather use: > > print('%html {0}'.format(fig.to_html())) > > > - Ori

AW: AW: plotly plots in apache zeppelin

2021-05-20 Thread Uwe.Bauder
Thanks for that tip! It works. However, the plotly menu is a little bit corrupted: [cid:image003.jpg@01D74D9E.2D2993B0] Instead of: [cid:image002.png@01D74D9E.2D243C80] In jupyter notebook. But at least a good workaround. Many Thanks! Von: f.idelber...@avm.de Gesendet: Donnerstag, 20. Mai 2

Re: AW: plotly plots in apache zeppelin

2021-05-20 Thread f . idelberger
I have created an issue.   - Original message - From: "Jeff Zhang" To: "users" Cc: Subject: Re: AW: plotly plots in apache zeppelin Date: Thu, May 20, 2021 5:31 PM   Awesome, it works.  @f.idelberger, could you create a jira ticket to add such an example in the zeppelin doc, I think it