Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BUG: matplotlib.sphinxext.plot_directive uses old function-based API #13132

Closed
@larsoner

Description

@larsoner

Working on scipy doc building I get thisdeprecation warning when running latest sphinxmaster:

/home/larsoner/python/sphinx/sphinx/util/docutils.py:271: RemovedInSphinx30Warning: function based directive support is now deprecated. Use class based directive instead.

Is anyone working on adding a new directive class that can be used instead of the directive function when callingapp.add_directive?

I suspect it should be possible totry/except using a class instead of a function insetup(app) to maintain backward compatibility, so I'd try that first. Should I give this a shot, or is someone else working on it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp