Skip to content

Commit

Permalink
Readme updates & formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhakar Kumar committed Nov 30, 2021
1 parent b0d8c12 commit 52cecf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<p align="center">
Expand Down
4 changes: 2 additions & 2 deletions jupyter_matlab_proxy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 52cecf6

Please sign in to comment.