GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [Bug]: \right) is replaced with exclamation mark when using fontset='cm' · Issue #29886 · matplotlib/matplotlib Closed as duplicate Closed as duplicate Copy link DescriptionBug summaryThis is similar to 5210. The right big parenthesis is replaced with an exclamation mark for certain latex code. Multiple queries were tested as follows. Code for reproductionimport matplotlib.pyplot as plt plt.rc('mathtext', fontset='cm') working_texts = ['\\left(\\int_x \\right)', '\\left(\\int^x \\right)'] bugged_texts = ['\\left(\\int_x^x \\right)', '\\left(\\int_{x}^{x} \\right)'] plt.text(0.5, 0.5, fr'${bugged_texts[0]}$', parse_math=True) plt.show() Actual outcomeExpected outcomeExpected: Additional informationI have only tested with mathtext fontset 'cm' and without setting it. The default font does display it correctly. Operating systemWindows Matplotlib Version3.10.0 Matplotlib Backendmodule://backend_interagg Python version3.12.5, 3.13 Jupyter versionNo response Installationpip Reacted by 2shaar Activity
MetadataMetadataAssigneesTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |