pnnl / i2x

Interconnection Innovation e-Xchange (i2x) Test Systems
Other
8 stars 13 forks source link

emt-bootcamp: user forum #16

Open temcdrm opened 1 year ago

temcdrm commented 1 year ago

Please post your questions here.

EDUSOMNIATOR commented 1 year ago

Hello

eranschweitzer commented 1 year ago

Ways to download the Plant-Level.zip file.

Step 1: go here

Option 1:

Right click on the left pane and select Save as... image

Option 2:

Click on the Plant-level.zip in the center pane. Then click either the download button or the Raw button. image

dali99999 commented 1 year ago

When running the 6th section in 'cplot.py', I got the error: "Javascript Error: IPython is not defined". What could be the problem and solution? Thanks. Snipaste_2023-08-03_20-55-07

saucemethemilk commented 1 year ago

When running the 6th section in 'cplot.py', I got the error: "Javascript Error: IPython is not defined". What could be the problem and solution? Thanks. Snipaste_2023-08-03_20-55-07

@dali99999, I had the same error on Firefox. I was able to get it to work by adding %matplotlib inline at the beginning of the boxes with that error.

I was also able to get it to work by just running the cplot.py file, not with the notebook.bat file.

eranschweitzer commented 1 year ago

@dali99999 this likely means that you don't have the ipython package installed in your environment. You should be able to get it with something like:

pip install ipython

or

conda install ipython
temcdrm commented 10 months ago

After installing the listed prerequisite ipympl, %matplotlib widget works more reliably than %matplotlib notebook. The archived notebooks have been updated accordingly.