Everybody has little functions that the find themselves writing ... and re-writing in different packages. Enough! I got tired of that, so I created a package for it.
You might find them useful, too.
Included are functions that work with the excellent Go Plotly project. Some of these are convenience functions -- structs to hold common plot parameters such as title. Others output plots in standard formats such as png and jpeg. These rely on the orca app. The steps to use this app on Linux are:
-
Download the latest release of the AppImage.
-
Put it somewhere safe.
-
chmod +x
-
make a symbolic link called "orca" in your path.
orca requires FUSE. FUSE installation instructions are here
Note that --no-sandbox is added to orca per this thread.