Open
Description
I am trying to run the tutorial, but I get the following error.
Traceback (most recent call last):
File "/home/appuser/mujoco_ws/robotoc_mecha_opt_py/chapter1.py", line 117, in <module>
plot_mpc.plot(t_log, vcom_log, wcom_log, vcom_cmd_log, yaw_rate_cmd_log, simulation.name)
File "/usr/local/lib/python3.10/site-packages/robotoc/utils/plot.py", line 328, in plot
plt.rc('mathtext',
File "/home/appuser/.local/lib/python3.10/site-packages/matplotlib/pyplot.py", line 765, in rc
matplotlib.rc(group, **kwargs)
File "/home/appuser/.local/lib/python3.10/site-packages/matplotlib/__init__.py", line 1092, in rc
rcParams[key] = v
File "/home/appuser/.local/lib/python3.10/site-packages/matplotlib/__init__.py", line 771, in __setitem__
raise ValueError(f"Key {key}: {ve}") from None
ValueError: Key mathtext.it:
serif:itelic
^
ParseException: Expected end of text, found ':' (at char 5), (line:1, col:6)
I think itelic is a typo for italic, is that correct?
robotoc/bindings/python/robotoc/utils/plot.py
Line 330 in d30d404
By changing to italic, the error no longer occurs.
The same applies to L31 and L244.
Metadata
Metadata
Assignees
Labels
No labels