Safe Haskell | None |
---|---|
Language | Haskell2010 |
- json :: QuasiQuoter
- runQuickPlot :: IO ()
- runQuickPlotWith :: UserDirectory -> Port -> IO ()
- class Plottable a where
- plottableToJSON :: a -> Value
- whichLibrary :: a -> Library
- plot :: Plottable p => p -> IO ()
- clear :: IO ()
- toJSON :: ToJSON a => a -> Value
Documentation
runQuickPlot :: IO () Source
Start a QuickPlot server at "http://localhost:8000" Run this function only once in a ghci session (even after reload)
:: UserDirectory | Path to directory with user scripts (doesn't work) |
-> Port | Port of the QuickPlot server |
-> IO () |
Start a QuickPlot server Run this function only once in a ghci session (even after reload)
class Plottable a where Source
plottableToJSON :: a -> Value Source
Convert to Aeson's Value
whichLibrary :: a -> Library Source
Which library should be used to visualize the data
Show data visualizations in the browser If the browser is not connected to QuickPlot a warning will be printed to stdout
Remove all plots in the browser If the browser is not connected by now the behaviour is undefined