:orphan: |rss_image| **blog page - 1/1** :ref:`Blog ` :ref:`javascript (3) ` .. |rss_image| image:: feed-icon-16x16.png :target: ../_downloads/rss.xml :alt: RSS ---- .. index:: blog .. _ap-main-0: blog page - 1/1 +++++++++++++++ .. blogpostagg:: :title: Binder and javascript :date: 2019-07-17 :keywords: jupyter,notebook,binder,javascript :categories: javascript :rawfile: 2019/2019-07-17_binder.rst I'm not an expect in javascript and I usually do not look why my script does not work for a very long time if the first try is not successfull. I found :class:`RenderJsDot ` quite useful to display :epkg:`graphviz` graph in a notebook but for some reason, on Binder, the option ``local=True`` must be used to make it work. You can check what works and what does not on `binder `_. .. blogpostagg:: :title: Custom javascript does not in jupyter lab :date: 2018-03-12 :keywords: jupyter lab,notebook :categories: javascript :rawfile: 2018/2018-03-12_customjs.rst I was surprised to see that the same code is working with a notebook server and not in Jupyter Lab. Here is the reason : `Jupyter Lab extension to support JavaScript output which are disabled in JupyterLab `_, `how to restore script tags in trusted HTML output `_. I did not find any easy to enable javascript back. A couple of direction: `javascriptRendererExtension.ts `_, `jupyter-renderers `_, `vdom `_. Maybe, it will get easier. .. blogpostagg:: :title: Issue with raphael.js in a notebook. :date: 2016-09-28 :keywords: :categories: javascript,notebook :rawfile: 2016/2016-09-28_raphaeljs.rst I spent a couple of hours to understand why I could not use `morris.js `_ in a notebook which was recommended as one of the most simple javascript libraries to use. I ran into issues because it depends on `raphael.js `_ which also depends on `evejs `_. I discovered that if I did not solve that issue myself, I was able to use `raphael.js `_ in a notebook without noticing it (see `treant-js `_). You will find to do so in :ref:`nbtreantrst`. ---- |rss_image| **blog page - 1/1** :ref:`2016-09 (1) ` :ref:`2018-03 (1) ` :ref:`2019-07 (1) `