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

CSS conflict with bokeh in conversion to slides? #29

Closed
sggaffney opened this issue Jun 4, 2015 · 4 comments
Closed

CSS conflict with bokeh in conversion to slides? #29

sggaffney opened this issue Jun 4, 2015 · 4 comments
Labels
format:Slides pertains to exporting to the Slides format
Milestone

Comments

@sggaffney
Copy link

When my nbconvert slides include a Bokeh plot, I get unwanted borders around the <td>, <tr> and <table> elements of the plot, inheriting from .rendered_html. The appearance of the dropdown for crosshair/hover is also affected (forced 'on').

screen shot 2015-06-03 at 14 10 37

Jupytr 3.1.0
Reveal.js 2.6.2
Bokeh 0.9.0

@Carreau Carreau added this to the wishlist milestone Jun 9, 2015
@damianavila
Copy link
Member

Probably a conflict between reveal js <> bokeh js <> jupyter js... ehh, a lot of js out there, I will take a look and investigate. Thanks for the report.

@takluyver takluyver added the format:Slides pertains to exporting to the Slides format label Jun 17, 2015
@damianavila
Copy link
Member

The borders are easy... you can put the following in a custom css and you are done:

.rendered_html table, .rendered_html td, .rendered_html th, .rendered_html tr {
  border: none;
}

But the dropdown is more difficult because it is caused by reveal.css setting display: inline-block and it does not seems to be any other value working... and unless somebody knows how to "delete" a css rule (I think you can't do it), a really weird workaround is to fix the reveal.css file itself... grrr... I hate when this happens...

Any other suggestions are welcomed...

@hongyoon
Copy link

@damianavila I have a similar issue as well. The hover tool does not display info when converted to slides.

@damianavila
Copy link
Member

Tested with latest nbconvert 5.2.1 and latest Bokeh 0.12.5 and I can see the plot without borders.
Closing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
format:Slides pertains to exporting to the Slides format
Projects
None yet
Development

No branches or pull requests

5 participants