We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f357367 + cac7e52 commit 8ef4accCopy full SHA for 8ef4acc
src/compas_rhino/forms/chart.py
@@ -14,8 +14,11 @@
14
from System.Drawing import Point
15
from System.Drawing import Color
16
17
-clr.AddReference("System.Windows.Forms.DataVisualization")
18
-from System.Windows.Forms.DataVisualization import Charting # noqa: E402
+try:
+ clr.AddReference("System.Windows.Forms.DataVisualization")
19
+ from System.Windows.Forms.DataVisualization import Charting # noqa: E402
20
+except Exception:
21
+ pass
22
23
24
class Series(object):
0 commit comments