Skip to content

Registering backends broken by backwards incompatible change #3439

Closed
@itoijala

Description

@itoijala

The documentation states (http://matplotlib.org/users/pgf.html):

registering it for handling pdf output:
from matplotlib.backends.backend_pgf import FigureCanvasPgf
matplotlib.backend_bases.register_backend('pdf', FigureCanvasPgf)

Since commit 8159c81 the register_backend function now requires a description argument.
I see two possibilities:

  1. update the documentation and add a note to the API changes document
  2. give the description argument a default value (empty string or None meaning format)

I have many files using the above code from the documentation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions