Why plotly? And some prerequisites.#

Learning Objectives#

After working through this topic, you should be able to:

  • explain why we use plotly

  • describe why it is hard to have great interactive and static functionality in one library

  • export static figures using kaleido regardless of the OS you are using

Materials#

Video:

Download the slides.

Quiz#

Windows workaround#

Install an old version of kaleido via pip:

$ conda activate [your_env]
$ pip install kaleido==0.1.0.post1

Some background:

  • Comment by former plotly employee:

    We do have this unfortunate situation where some (mostly Windows?) users have hanging calls which no one has gotten to the bottom of just yet, though. I don’t know that anyone is actively working on that issue, given the complexity of building the project, but it seems to impact only a small minority of users.

  • Feel free to add your experience to this issue