Skip to content

Commit 7ef0ec8

Browse files
authored
Merge pull request #926 from compas-dev/fix-plotter
Fix unimplemented abstract method on plotter MeshArtist
2 parents 5db89fb + 0aafc01 commit 7ef0ec8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
* Changed abstract method `compas.artists.MeshArtist.draw_mesh` to implemented method in `compas_plotters.artists.MeshArtist.draw_mesh`.
15+
1416
### Removed
1517

1618

src/compas_plotters/artists/meshartist.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ def draw(self,
238238
if self.show_faces:
239239
self.draw_faces(faces=faces, color=facecolor)
240240

241+
def draw_mesh(self):
242+
raise NotImplementedError
243+
241244
def draw_vertices(self,
242245
vertices: Optional[List[int]] = None,
243246
color: Optional[Union[str, Color, List[Color], Dict[int, Color]]] = None

0 commit comments

Comments
 (0)