drufat / triangle

Python bindings to the triangle library
GNU Lesser General Public License v3.0
224 stars 53 forks source link

Theory-of-seismic-waves-II/02_Mesh_generation/4_Tri_mesh_delaunay_yigma_tepe.ipynb #37

Closed brioglade closed 4 years ago

brioglade commented 5 years ago

AttributeError Traceback (most recent call last)

in () 2 cndt = triangle.triangulate(A,'pD') 3 ax = plt.subplot(111, aspect='equal') ----> 4 tplot.plot(ax,**cndt) AttributeError: 'function' object has no attribute 'plot'
drufat commented 5 years ago

Since tplot is a function, the code should probably read: tplot(ax,**cndt)

The triangle plot function is located in triangle.plot.