Skip to content
This repository was archived by the owner on Dec 18, 2023. It is now read-only.
This repository was archived by the owner on Dec 18, 2023. It is now read-only.

Install JupyterLab instead of Jupyter #1479

@ndmlny-qs

Description

@ndmlny-qs

Issue Description

In setup.py we install jupyter, however, if a user uses Jupyter and runs a tutorial, then they might see improper rendering of math. See the images from the Hidden Markov tutorial below as an example.

Correct math rendering on the website.
correct-rendering-website

Incorrect rendering in Jupyter.
incorrect-rendering-jupyter

This can be fixed by switching out a Jupyter installation with a JupyerLab installation and adding the jupyerlab-katex plugin as a dependency.

Fixed rendering in Jupyter.
correct-rendering-jupyter

Steps to Reproduce

Use the instructions in the README.md and ensure you install Bean Machine using the pip install -e ".[dev]" command. If you do not install the dev environment, then you will not get a working Jupyter installation.

Expected Behavior

Tutorials would work the same way as on the website.

Additional Context

If we are going to suggest a user use conda, then we should have conda install pip as a dependency as well.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions