Various docstring edits + fixed plot legends on cruise control example by billtubbs · Pull Request #643 · python-control/python-control

The problem with Jupyter notebooks is that they inherit information from your local machine. So the problem is probably something like conda-env-control-dev-py is a local environment on your machine but it doesn't exist in the test environment. I marked this line in the code so that you can see where it occurs.

One fix is to edit the Jupyter notebook directly (in a text editor) and change the code you want to fix. Then commit that change and test it locally, throwing out the new version of the notebook that will be created when you run it (but still making sure it works). Push that up to GitHub and it should be OK. One caveat is that this will leave the notebook with the old figures, which may not be what you want.

Alternatively, run the notebook on your local machine and get things working, then go in and manually change the line that said conda-env-control-dev-py to say python3.