mwouts / easyplotly

Hopefully makes it easier to produce complex plots with Plotly
MIT License
6 stars 0 forks source link

Turn the README into a Jupyter Book #7

Open mwouts opened 4 years ago

mwouts commented 4 years ago

Can we render the examples with Jupyter Book? Is it really the case that we need to export the Plotly Graphs to HTML first as documented here?

mwouts commented 4 years ago

I have documented my attempt to build a Jupyter Book for this project at https://github.com/mwouts/easyplotly/tree/documentation_with_jupyter_book/book

I have not been able to render the (short book) locally on Windows (nor on WSL) - make serve fails. On Windows the error is

bundle exec guard
Configuration file: _config.yml
Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
19:00:16 - INFO - Run 'gem install win32console' to use color on Windows
19:00:16 - ERROR - Could not load 'guard/livereload' or find class Guard::Livereload
19:00:16 - ERROR - Error is: cannot load such file -- 2.6/rubyeventmachine
19:00:16 - ERROR - C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/eventmachine-1.2.7-x64-mingw32/lib/rubyeventmachine.rb:2:in `require'

Any way, I have posted the book to GitHub Pages at https://github.com/mwouts/easyplotly-book, but it also complains about my notebook 😭

Your site is having problems building: The variable {{ x.observe(notebookContainer, {childList: true} on line 197 in 1_sunburst/1_simple_sunburst.html was not properly closed with }}. For more information, see https://help.github.com/en/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#tag-not-properly-terminated.

@choldgraf, have you ever seen an error like the one above? Thanks!