plotly / Plotly.NET

interactive graphing library for .NET programming languages :chart_with_upwards_trend:
https://plotly.net
MIT License
663 stars 88 forks source link

Add suitable default open statement for FreeBSD #397

Open kMutagene opened 1 year ago

kMutagene commented 1 year ago

Chart.show uses an OS-specific way of opening files:

https://github.com/plotly/Plotly.NET/blob/2f94e879d23b0bdd259ec76cff99ae8946b375b2/src/Plotly.NET/InternalUtils.fs#L93-L105

Since we do not have a match case for FreeBSD, you currently cannot display charts via Chart.show on that OS.

Since i am not familiar with that OS, I would need input from someone that actually uses it on how to proceed here.

My first google attempt comes up with this, but i have no way of testing it.

See also #384