Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_offset_position deprecated (used in exporter.py) #477

Open
hyanwong opened this issue Oct 2, 2020 · 2 comments
Open

get_offset_position deprecated (used in exporter.py) #477

hyanwong opened this issue Oct 2, 2020 · 2 comments

Comments

@hyanwong
Copy link

hyanwong commented Oct 2, 2020

With newer matlibplot versions, I get

mpld3/mplexporter/exporter.py:267: MatplotlibDeprecationWarning: 
The get_offset_position function was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
  offset_order = offset_dict[collection.get_offset_position()]
@jasjisdo
Copy link

@felipems11
Copy link

Try replacing this line by: offset_order = dict()
This worked for me, but I understand this is an awful solution.

#offset_order = offset_dict[collection.get_offset_position()]
offset_order = dict()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants