Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/matplotlib/artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ def setp(obj, *args, **kwargs):


def kwdoc(artist):
"""
r"""
Inspect an `~matplotlib.artist.Artist` class and return
information about its settable properties and their current values.

Expand Down
3 changes: 3 additions & 0 deletions lib/mpl_toolkits/mplot3d/art3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,9 @@ def get_facecolor(self):
def get_edgecolor(self):
return self._edgecolors2d

def get_facecolors(self):
return self._facecolors


def poly_collection_2d_to_3d(col, zs=0, zdir='z'):
"""Convert a PolyCollection to a Poly3DCollection object."""
Expand Down
4 changes: 3 additions & 1 deletion lib/mpl_toolkits/tests/test_mplot3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ def test_trisurf3d():

fig = plt.figure()
ax = fig.gca(projection='3d')
ax.plot_trisurf(x, y, z, cmap=cm.jet, linewidth=0.2)
tri = ax.plot_trisurf(x, y, z, cmap=cm.jet, linewidth=0.2)
# smoke test for facecolors
tri.get_facecolors()


@image_comparison(baseline_images=['trisurf3d_shaded'], remove_text=True,
Expand Down