Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[WIP] Collection draw order and other mplot3d stuff #4090

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

Closed

Conversation

WeatherGod
Copy link
Member

TODO: See if I can share zsorting code across all the 3D collection classes (right now, it only resides in Poly3DCollection)

@WeatherGod
Copy link
Member Author

Travis errors are spurious download errors

@tacaswell tacaswell modified the milestone: next point release Feb 17, 2015
@tacaswell tacaswell modified the milestones: next point release, proposed next point release Jun 16, 2015
@syee
Copy link

syee commented Apr 10, 2016

I believe I'm still running into this issue today. Below is the error message I receive when attempting to convert hb_made (a hexbin PolyCollection) into a Poly3DCollection. Are there any other ways to convert 2D PolyCollections into 3D PolyCollections?

ax.add_collection3d(hb_made, zs=shotNumber.get_array(), zdir='y')

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 2201, in add_collection3d
art3d.poly_collection_2d_to_3d(col, zs=zs, zdir=zdir)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/mplot3d/art3d.py", line 716, in poly_collection_2d_to_3d
col.set_3d_properties()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/mplot3d/art3d.py", line 595, in set_3d_properties
self._edgecolors3d = PolyCollection.get_edgecolors(self)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/collections.py", line 626, in get_edgecolor
return self.get_facecolors()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/mplot3d/art3d.py", line 699, in get_facecolors
return self._facecolors2d
AttributeError: 'Poly3DCollection' object has no attribute '_facecolors2d'

@tacaswell
Copy link
Member

@WeatherGod This needs a rebase

@tacaswell tacaswell modified the milestones: 2.1 (next point release), 2.2 (next next feature release) Aug 29, 2017
@tacaswell
Copy link
Member

ping @WeatherGod is this still a going concern?

@jklymak
Copy link
Member

jklymak commented Jul 14, 2020

I'll close this for lack of progress...

@jklymak jklymak closed this Jul 14, 2020
@story645 story645 removed this from the future releases milestone Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants