question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MathtextBackendPdf class Deprecated

See original GitHub issue

Not a current problem, but in converting an RsT file to pdf I noted the following message from Matplotlib:

The MathtextBackendPdf class was deprecated in Matplotlib 3.4 and will be removed two minor releases later. Use MathtextBackendPath instead.

It’s used by math_flowable.py.

I added this issue in case the deprecation hasn’t been noticed as yet.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
tbpassincommented, Dec 20, 2021

Yes, that did the trick. I added

'-D', 'pdf_stylesheets=twocolumn'

to the argument list, and now I get the Sphinx output. Thanks!

Although I don’t know why Two Column styling is desired, since it’s not something I’m asking for in the RsT.

1reaction
tbpassincommented, Dec 19, 2021

An error message about not supporting multi-line in math directives sounds right ot me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

matplotlib.mathtext — Matplotlib 3.4.2 documentation
[Deprecated] Convert a mathtext string to a grayscale array and depth. ... The base class for the mathtext backend-specific code.
Read more >
Document
[*Deprecated*] Store information to write a mathtext rendering to the PDF backend. Examples. See : Local connectivity graph. Hover to see nodes names; ......
Read more >
How to annotate deprecation of a class in Java?
No, you don't need to. Adding the annotation @Deprecated to DeprecatedClass will generate a warning every time it's used.
Read more >
Fedora 36 and math text (MaskParser is not initialized!)
Hi! On Fedora 36, I'm unable to use LaTeX math fonts for any string. When using the package: paraview.x86_64 5.10.0-0.4.fc36 I get the...
Read more >
python/mspass-team/mspass/scripts/aws_lambda_examples ...
getLogger(__name__) @_api.caching_module_getattr class __getattr__: locals().update({ name: _api.deprecated("3.4")( property(lambda self, _mod=mod, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found