jupyterlab - just prints object
See original GitHub issueHi,
despite all my efforts altair won’t show plots on on my new laptop - just prints object, instead
so for this example:
import altair as alt
# Uncomment/run this line to enable Altair in JupyterLab/nteract:
alt.enable_mime_rendering()
# load data as a pandas DataFrame
cars = alt.load_dataset('cars')
alt.Chart(cars).mark_point().encode(
x='Horsepower',
y='Miles_per_Gallon',
color='Origin',
)
it returns:
<traitlets.traitlets.Chart at 0x1029832b0>
Issue Analytics
- State:
- Created 6 years ago
- Comments:21 (8 by maintainers)
Top Results From Across the Web
Printing | @jupyterlab
One way of printing is to use the printWidget function, which creates a hidden iframe and copies the DOM nodes from your widget...
Read more >How to display full output in Jupyter, not only last result?
I want Jupyter to print all the interactive output without ... No more retyping the same item multiple times just to get it...
Read more >Plotting and Programming in Python - Our Lessons
Objectives. Launch the JupyterLab server. Create a new Python script. Create a Jupyter notebook. Shutdown the JupyterLab server.
Read more >Using with Jupyter — Bokeh 2.4.3 Documentation
You can use this handle object with the push_notebook() function to update the plot with any recent changes to plots properties, data source...
Read more >Is there a way to save the output of a cell? - JupyterLab
I really just want a snapshot of the output. ... AxesSubplot object at 0x7f4142d81a00> is not of type 'object', 'array', 'boolean', ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The nbextension stuff won’t interfere with the JupyterLab side of things. I am digging out of email, but will try to come up with some test code you can run to help us debug this over the weekend.
On Fri, Feb 16, 2018 at 8:21 AM, Philipp Kats notifications@github.com wrote:
– Brian E. Granger Associate Professor of Physics and Data Science Cal Poly State University, San Luis Obispo @ellisonbg on Twitter and GitHub bgranger@calpoly.edu and ellisonbg@gmail.com
Thanks though, will try to figure it out somehow