amcphail / plot-gtk3 Goto Github PK
View Code? Open in Web Editor NEWGtk3 bindings for plot package
License: Other
Gtk3 bindings for plot package
License: Other
Unpacking to plot-gtk3-0.1.0.1/
Resolving dependencies...
Configuring plot-gtk3-0.1.0.1...
Building plot-gtk3-0.1.0.1...
Preprocessing library plot-gtk3-0.1.0.1...
[1 of 3] Compiling Graphics.UI.Gtk.Plot ( lib/Graphics/UI/Gtk/Plot.hs, dist/build/Graphics/UI/Gtk/Plot.o )
[2 of 3] Compiling Graphics.Rendering.Plot.Gtk ( lib/Graphics/Rendering/Plot/Gtk.hs, dist/build/Graphics/Rendering/Plot/Gtk.o )
[3 of 3] Compiling Graphics.Rendering.Plot.HMatrix ( lib/Graphics/Rendering/Plot/HMatrix.hs, dist/build/Graphics/Rendering/Plot/HMatrix.o )
lib/Graphics/Rendering/Plot/HMatrix.hs:117:28:
Not in scope: ‘constant’
lib/Graphics/Rendering/Plot/HMatrix.hs:117:40:
Not in scope: ‘dim’
Perhaps you meant ‘div’ (imported from Prelude)
lib/Graphics/Rendering/Plot/HMatrix.hs:117:57:
Not in scope: ‘constant’
lib/Graphics/Rendering/Plot/HMatrix.hs:117:69:
Not in scope: ‘dim’
Perhaps you meant ‘div’ (imported from Prelude)
The below code fails at run-time with the following message
~/git/Haskell/Gtk3Test » stack exec Gtk3Test-exe Fred@Freds-Mac|0:47:11|
2016-02-19 00:47:34.910 Gtk3Test-exe[54150:993438] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
Gtk3Test-exe: SystemziGlibziMainLoop_drvi: interrupted
import Numeric.LinearAlgebra.Data
import Graphics.Rendering.Plot.HMatrix
import Graphics.Rendering.Plot.Gtk
import Graphics.Rendering.Plot.Render (OutputType(..))
someFunc :: IO ()
someFunc = do
let x = vector [1..10]
y = vector $ map (^2) [1..10]
plotHandle <- mplotH [x , y]
writePlotHandle plotHandle PDF "Output.pdf" (200,200)
This issue seems to be
However I feel this should be treated as a warning and not an error since the PDF is actually generated fine in the current directory and the error message actually starts with the word WARNING
Not sure if that is something easy to change though but thanks in advance for looking at this
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.