Skip to content

MatplotlibDeprecationWarning with unexpected argument for savefig() #435

@elyurn

Description

@elyurn

Description

Using the development version of proplot in a venv to get the matplotlib version 3.4.3, I have a deprecation warning with savefig()

Steps to reproduce

import proplot as pplt
pplt.subplots()

Expected behavior: No warning :)

Actual behavior:


.../env/lib/python3.11/site-packages/proplot/figure.py:464: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument "facecolor" which is no longer supported as of 3.3 and will become an error two minor releases later
  return func(self, *args, **kwargs)
.../env/lib/python3.11/site-packages/proplot/figure.py:464: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument "edgecolor" which is no longer supported as of 3.3 and will become an error two minor releases later
  return func(self, *args, **kwargs)
.../env/lib/python3.11/site-packages/proplot/figure.py:464: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument "orientation" which is no longer supported as of 3.3 and will become an error two minor releases later
  return func(self, *args, **kwargs)
.../env/lib/python3.11/site-packages/proplot/figure.py:464: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument "bbox_inches_restore" which is no longer supported as of 3.3 and will become an error two minor releases later
  return func(self, *args, **kwargs)

Proplot version

matplotlib: 3.4.3
proplot: 0.9.5.post360

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions