Skip to content

MatplotlibDeprecationWarning from ax.spines[label].set_smart_bounds() #115

@jGaboardi

Description

@jGaboardi

Getting the following MatplotlibDeprecationWarning from here:

/Users/user/miniconda3/envs/env/lib/python3.8/site-packages/splot/_viz_esda_mpl.py:47: MatplotlibDeprecationWarning: 
The set_smart_bounds function was deprecated in Matplotlib 3.2 and will be removed two minor releases later.
  ax.spines['left'].set_smart_bounds(True)
/Users/user/miniconda3/envs/env/lib/python3.8/site-packages/splot/_viz_esda_mpl.py:48: MatplotlibDeprecationWarning: 
The set_smart_bounds function was deprecated in Matplotlib 3.2 and will be removed two minor releases later.
  ax.spines['bottom'].set_smart_bounds(True)

System Info:

CPython 3.8.5
IPython 7.18.1

compiler   : Clang 10.0.1 
system     : Darwin
release    : 19.6.0
machine    : x86_64
processor  : i386
CPU cores  : 8
interpreter: 64bit

Package Info:

esda                2.3.1
libpysal            4.3.0
matplotlib          3.3.2
numpy               1.19.1
scipy               1.5.2
splot               1.1.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions