Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Create RCKeyType#30316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Create RCKeyType#30316
Changes fromall commits
cabc2667fb39ede27095e4b0773f612b541b29f60e186504881f9d6bfea96f4File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -570,7 +570,7 @@ def __init__(self, default_font_prop: FontProperties, load_glyph_flags: LoadFlag | ||
| super().__init__(default_font_prop, load_glyph_flags) | ||
| for texfont in "cal rm tt it bf sf bfit".split(): | ||
| prop = mpl.rcParams['mathtext.' + texfont] # type: ignore[index] | ||
ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. There is no getter for a group so I think ignoring the error is the only solution. Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I assume mypy is complaining here. Would it help to make the list explicit? fortexfontin ["cal","rm","tt","it","bf","sf","bfit"]: ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Unfortunately mypy consider Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Ok in that case, ignoring is likely the simplest solution. | ||
| font = findfont(prop) | ||
| self.fontmap[texfont] = font | ||
| prop = FontProperties('cmex10') | ||
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.