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

BUG: PathCollection' object has no attribute 'set_sizes' #3113

Closed
rougier opened this issue Jun 4, 2014 · 3 comments · Fixed by #3130
Closed

BUG: PathCollection' object has no attribute 'set_sizes' #3113

rougier opened this issue Jun 4, 2014 · 3 comments · Fixed by #3130
Milestone

Comments

@rougier
Copy link
Member

rougier commented Jun 4, 2014

The rain.py demo does not seem to work on 1.3.1.
I now gets:

File "rain.py", line 59, in update
    scat.set_sizes(rain_drops['size'])
AttributeError: 'PathCollection' object has no attribute 'set_sizes'
@pelson
Copy link
Member

pelson commented Jun 4, 2014

rain.py isn't part of matplotlib v1.3.1 - it is only in master (and v1.4.0 onwards).

@rougier
Copy link
Member Author

rougier commented Jun 4, 2014

Oups.

@rougier rougier closed this as completed Jun 4, 2014
@tacaswell
Copy link
Member

As a side note, this function was added in b8726d0 If you want rain.py to work on 1.3.1, use col._size = foo.

Re-opening this as the addition of set_size should have gotten a whats_new entry.

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

Successfully merging a pull request may close this issue.

4 participants