skoch9 / meshplot

Plot 3D triangle meshes
GNU General Public License v3.0
148 stars 37 forks source link

Fix for linewidth > 1 #34

Closed karldd closed 3 years ago

karldd commented 3 years ago

Why?

As described here line widths > 1 depend on OS/browser support to be displayed correctly. Currently on my system (Mac/Chrome) they will always display as line width 1 regardless of what number is used with shading={"line_width": 5.0}.

What?

This PR adds a small fix to display line widths > 1 correctly.

image image image
skoch9 commented 3 years ago

Great, thanks for the PR :)