GeezerVison is showing github.com — Fix Latex not being rendered in HTML output in VSCode by lkies · Pull Request #1133 · python-control/python-control
Conversation
lkies
commented
Mar 1, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
...by adding a blanket _repr_markdown_ for InputOutputSystem which is the same as _repr_html_ but the renderer for _repr_markdown_ will also render contained Latex.
Closes #1132
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
by adding a blanket _repr_markdown_ InputOutputSystem which is the same as _repr_html_ but the renderer for _repr_markdown_ will also render contained latex
|

coverage: 94.745% (+0.001%) from 94.744%
when pulling bb35a88 on lkies:fix-repr
into f6799ab on python-control:main.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@lkies It looks like _repr_markdown breaks some unit tests. I tried running this under MacOS and it was OK, so seems to be specific to linux.
The doctest error is coming from Sphinx:
File "/home/runner/miniconda3/envs/doctest-env/lib/python3.12/site-packages/sphinx/events.py", line 415, in emit
raise ExtensionError(
sphinx.errors.ExtensionError: Handler <function html_collect_pages at 0x7fcd3a5116c0> for event 'html-collect-pages' threw an exception (exception: module 'sphinx.util' has no attribute 'console')
The examples error is coming from singular_values_plot.ipynb. When the following block is executed
%matplotlib nbagg
# only needed when developing python-control
%load_ext autoreload
%autoreload 2
it generates the error
ModuleNotFoundError: No module named 'IPython.extensions.deduperreload'
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Mar 2, 2025
|
@murrayrm so since it seems that this is not my fault I will wait until #1137 is merged an then update my PR?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.