diff --git a/README.md b/README.md index c54a3300e..57406c8d6 100644 --- a/README.md +++ b/README.md @@ -61,14 +61,12 @@ Upon successful installation of `jupyter-matlab-proxy`, your Jupyter environment * Open your Jupyter environment by starting jupyter notebook or lab ```bash # For Jupyter Notebook - env MWI_BASE_URL="/matlab" jupyter notebook + jupyter notebook # For Jupyter Lab - env MWI_BASE_URL="/matlab" jupyter lab + jupyter lab ``` - For more information on `MWI_BASE_URL`, refer [Advanced Usage](https://github.com/mathworks/matlab-proxy/blob/main/Advanced-Usage.md) from `matlab-proxy`. - * If you are using Jupyter Notebook (on the left in figure below), on the `New` menu, select `MATLAB`. If you are using JupyterLab (on the right in figure below), select the MATLAB icon on the launcher.

diff --git a/jupyter_matlab_proxy/__init__.py b/jupyter_matlab_proxy/__init__.py index 5c87606be..0188d5dc4 100644 --- a/jupyter_matlab_proxy/__init__.py +++ b/jupyter_matlab_proxy/__init__.py @@ -33,11 +33,11 @@ def setup_matlab(): """ import matlab_proxy - from matlab_proxy.util import mwi_logger + from matlab_proxy.util import mwi_logger logger = mwi_logger.get(init=True) logger.info("Initializing Jupyter MATLAB Proxy") - + # Get MATLAB icon from matlab_proxy package_path = Path(inspect.getfile(matlab_proxy)).parent icon_path = package_path / "icons" / "matlab.svg"