-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
compile with mathtext support #79
Comments
What concerns me is that after install matplotlib, VTK thinks it is supported with this build even though it isn't: conda install vtk >>> import vtk
>>> vtk.vtkMathTextFreeTypeTextRenderer().MathTextIsSupported()
False conda install matplotlib >>> import vtk
>>> vtk.vtkMathTextFreeTypeTextRenderer().MathTextIsSupported()
True but it still doesn't work?
|
Line 130 in 026b413
|
@mathstuf, is this all that is needed?
Latest from this feedstock. Not only locally, but also with PyVista's CI, ref pyvista/pyvista#3781 Locally:
Here is a pure VTK example to check for math text symbols (effectively equivalent to what PyVista is doing above): import vtk
actor = vtk.vtkTextActor()
actor.SetInput(r'$\rho$')
actor.GetTextProperty().SetFontSize(75)
ren = vtk.vtkRenderer()
renWin = vtk.vtkRenderWindow()
renWin.AddRenderer(ren)
iren = vtk.vtkRenderWindowInteractor()
iren.SetRenderWindow(renWin)
ren.AddActor(actor)
iren.Initialize()
renWin.Render()
iren.Start() |
FWIW, I noticed this error from VTK this time:
|
Yes, that will need 9.2.5; it added support for matplotlib 3.6. |
Aahh, right. I just checked and this feedstock works for matplotlib<3.6. I doubt we'd want to limit |
9.2.5 just landed :) |
Would it be possible to build vtk with mathtext support?
Please see pyvista/pyvista#83 (and pyvista/pyvista#127 because we've added
pyvista
to conda-forge)The text was updated successfully, but these errors were encountered: