You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importnumpyfrommayavi.mlabimport*deftest_triangular_mesh():
"""An example of a cone, ie a non-regular mesh defined by its triangles. """n=8t=numpy.linspace(-numpy.pi, numpy.pi, n)
z=numpy.exp(1j*t)
x=z.real.copy()
y=z.imag.copy()
z=numpy.zeros_like(x)
triangles= [(0, i, i+1) foriinrange(1, n)]
x=numpy.r_[0, x]
y=numpy.r_[0, y]
z=numpy.r_[1, z]
t=numpy.r_[0, t]
returntriangular_mesh(x, y, z, triangles, scalars=t)
When I change the title to 1, only a dot shows up in the plot:
test_triangular_mesh()
title("1")
Long words are the same:
test_triangular_mesh()
title("Iteration")
The n is not correctly rendered.
The text was updated successfully, but these errors were encountered:
Cannot reproduce as of today, either on OSX or Linux. While the font is definitely not the best available (bad kerning, but I doubt is a problem at the mayavi level) every letter is present and readable. Closing
For example, with the
surf()
example (http://docs.enthought.com/mayavi/mayavi/auto/mlab_helper_functions.html#mayavi.mlab.surf):When I change the title to
1
, only a dot shows up in the plot:Long words are the same:
The n is not correctly rendered.
The text was updated successfully, but these errors were encountered: