defer "import matplotlib"
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
in an HPC setting python imports are expensive, and proportional to job size (not scalable). currently during the creation of the pv render view, vtkMatplotlibMathTextUtilities::CheckMPLAvailability uses python interpreter to "import matplotlib". This negatively impacts startup time for all users, even when they aren't going to use Tex rendering. Startup time could be reduced, especially for larger jobs, by defering the import until Tex is used. The Tex rendering classes need to be refactored to defer the import.
see also paraview-users thread http://public.kitware.com/pipermail/paraview/2015-February/033230.html