Added error when trying to plot quad or hex mesh with matplotlib

#378 Merged at 8b54be6
Repository
Branch
ivan/add-error-quad-plot
Repository
Branch
master
Author
  1. Ivan Yashchuk
Reviewers
Description

Currently when trying to plot quadrilateral or hexahedral mesh, the ValueError: triangles must be a (?,3) array from matplotlib/tri/triangulation.py pops up.

With this small change user will be notified that matplotlib does not support quadrilateral and hexahedral mesh. It is more informative.

  • Commit status

Comments (4)