Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size of bokeh charts when converted to slides #162

Open
bs1234 opened this issue Oct 29, 2015 · 5 comments
Open

Size of bokeh charts when converted to slides #162

bs1234 opened this issue Oct 29, 2015 · 5 comments
Labels

Comments

@bs1234
Copy link

bs1234 commented Oct 29, 2015

Bokeh charts appear in full as a notebook but when converted to slides only a portion of them appear (together with a scroll bar to see the remainder)

This might be due by my ignorance (I only recently discovered Jupyter & RISE) or a real issue.

See here: http://stackoverflow.com/questions/33400539/full-size-bokeh-charts-as-jupyter-slides?noredirect=1#comment54593638_33400539

Here is an example notebook:
http://nbviewer.jupyter.org/gist/bs1234/1e6e734d6be79855dafe

(FWIW: the size of bokeh chart that displayed correctly were slightly different between my local machine and the nbviewer)

thanks

ps: both Bokeh and RISE are fantastic, great job.

@mjbright
Copy link

Hi,

You can create a public gist here: https://gist.github.com/
and then link to that.

Regards,
Mike.

On 29 October 2015 at 03:06, bs1234 notifications@github.com wrote:

Bokeh charts appear in full as a notebook but when converted to slides
only a portion of them appear (together with a scroll bar to see the
remainder)

This might be due by my ignorance (I only recently discovered Jupyter &
RISE) or a real issue.

See here:
http://stackoverflow.com/questions/33400539/full-size-bokeh-charts-as-jupyter-slides?noredirect=1#comment54593638_33400539

An example .ipynb has been created and will be uploaded just as soon as I
work out the easiest place to put it...

Can I save notebooks here on git? if so, any advice how to?
(excuse the basic question)

thanks


Reply to this email directly or view it on GitHub
#162.

@bs1234
Copy link
Author

bs1234 commented Oct 30, 2015

Many thanks Mike

A link now added to original comment (gist via nbviewer)
Hopefully that works and helps explain the situation.

As I said, it could well be my ignorance as opposed to an issue!

@damianavila
Copy link
Owner

Thanks for posting this... I will take a look in the next few days... probably it is caused by css from different sources conflicting...

@bs1234
Copy link
Author

bs1234 commented Oct 30, 2015

Some more info that may be of some use:

  1. I have managed to get my bokeh chart to show in full with the code below.
    BUT : the change in slide width only takes effect AFTER the notebook is shutdown and restarted.
from notebook.services.config import ConfigManager
cm = ConfigManager()
cm.update('livereveal', {
          'width': 1150,
          'height': 1024,
})
  1. This may be related to these other issues, since they also involve chopping content:
    Code text cutoff on wide slides #129
    slides too wide, width config doesn't work #143

Good luck and well done again on a great tool

@damianavila
Copy link
Owner

We should check if this is still happening with the latest Bokeh release.

@damianavila damianavila removed the bug label Jul 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants