Hi Alex,
Created: https://issues.apache.org/jira/browse/ZEPPELIN-1503
Regards,
Andrey
2016-09-28 1:24 GMT+03:00 Goodman, Alexander (398K) <
alexander.good...@jpl.nasa.gov>:
> Hi Andrey,
>
> Hmm. Usually if you wait long enough the notebook should eventually open.
> You are right though, the onl
Hi Andrey,
Hmm. Usually if you wait long enough the notebook should eventually open.
You are right though, the only other way to fix this that I can think of is
to edit the note.json file directly and remove the output yourself (you'll
see it as a really long string contained in the SVG div tag).
Hi Alex,
This helped! Great! Thank you!
As for the option to hide the Paragraph output, there is a problem. If SVG
is lagging u can't open notebook at all. So may be there is some way to
clean all notebook output before opening it?
Also we can change notebook json file directly on disk.
Again, t
Hi Andrey,
To get rid of the lag the SVG images are causing in your notebook, you can
hide the Paragraph output. Look for this icon in the upper right hand
corner of the paragraph: https://puu.sh/rq0JU/6fa29f2ff9.png
For your first problem, matplotlib is very inflexible when it comes to
setting t
Hi Alex,
Thank you, we will give PNG a try.
Our dataset is very small (for Big Data and Hadoop) - only 4mb. We have 40
000 rows x 17 columns. Not so big.
But it seems that 40k dots it too much for my browser. Also may be Zeppelin
should somehow disable such diffcult paragraphs and not whole note
Hi Andrey,
These two lines:
os.system("export DISPLAY=:0")
plt.switch_backend('Agg')
should not be necessary since you have already set the backend manually to
AGG.
More importantly, how large is your dataset? While SVG looks nice, it does
not scale well with large datasets. I would suggest you
Hi Alex,
here is exported notebook and sample data.
Notebook is quite havy (19MB) where can I upload it?
Here is some code sample:
%pyspark
import matplotlib
import os
from pylab import figure, show, rand
from matplotlib.patches import Ellipse
import matplotlib.pyplot as plt
# helper function
Hi Andrey,
Would you be able to post the code you were using so we can try to
reproduce your problem including how you are generating the images inline
(eg, is your chosen image format png or svg?).
Thanks,
Alex
On Tue, Sep 20, 2016 at 9:12 AM, Андрей Ривкин wrote:
> Hi,
>
> We are using Zeppe
Hi,
We are using Zeppelin 0.6.1 with Spark 1.6.2.
We have very simple demo and small file. If we want just to calculate some
- it's ok.
But when we try to visualize using matplotlib Zepplin hangs (even scroll
bar) and then disconnects.
We are using Chrome.
In logs just this:
INFO [2016-09-20