Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
90f967c1
Commit
90f967c1
authored
May 29, 2016
by
Sumit Sahrawat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formatting fixes
parent
007e9532
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
130 additions
and
126 deletions
+130
-126
Gnuplot.hs
...kell-display/ihaskell-gnuplot/IHaskell/Display/Gnuplot.hs
+35
-34
Setup.hs
ihaskell-display/ihaskell-gnuplot/Setup.hs
+2
-1
Types.hs
ipython-kernel/src/IHaskell/IPython/Types.hs
+2
-1
CSS.hs
src/IHaskell/CSS.hs
+91
-90
No files found.
ihaskell-display/ihaskell-gnuplot/IHaskell/Display/Gnuplot.hs
View file @
90f967c1
{-# LANGUAGE FlexibleInstances #-}
{- There are 3 types of plots to consider in haskell-gnuplot: Plot, Frame and Multiplot.
Plot types are the actual plots, whereas Frame types are plots with additional options
e.g. custom axes tics, graph title etc.. Multiplots are collections of 2D and/or 3D plots.
...
...
@@ -62,6 +63,7 @@ name = ".ihaskell-gnuplot."
-- Width and height
w
=
300
h
=
300
graphDataPNG2P
::
(
C
x
,
C
y
)
=>
P
.
T
(
Tw
.
T
x
y
)
->
IO
DisplayData
...
...
@@ -160,7 +162,6 @@ graphDataSVG3F graph = do
imgData
<-
Char
.
readFile
$
name
++
"svg"
return
$
svg
$
Char
.
unpack
imgData
graphDataPNGM
::
M
.
T
->
IO
DisplayData
graphDataPNGM
graph
=
do
switchToTmpDir
...
...
ihaskell-display/ihaskell-gnuplot/Setup.hs
View file @
90f967c1
import
Distribution.Simple
main
=
defaultMain
ipython-kernel/src/IHaskell/IPython/Types.hs
View file @
90f967c1
...
...
@@ -288,7 +288,8 @@ data Message =
KernelInfoReply
{
header
::
MessageHeader
,
protocolVersion
::
String
-- ^ current protocol version, major and minor
,
banner
::
String
-- ^ Kernel information description e.g. (IHaskell 0.8.3.0 GHC 7.10.2)
,
banner
::
String
-- ^ Kernel information description e.g. (IHaskell 0.8.3.0 GHC
-- 7.10.2)
,
implementation
::
String
-- ^ e.g. IHaskell
,
implementationVersion
::
String
-- ^ The version of the implementation
,
languageInfo
::
LanguageInfo
...
...
src/IHaskell/CSS.hs
View file @
90f967c1
...
...
@@ -4,7 +4,8 @@ import IHaskellPrelude
ihaskellCSS
::
String
ihaskellCSS
=
unlines
[
unlines
[
-- Custom IHaskell CSS
"/* Styles used for the Hoogle display in the pager */"
,
".hoogle-doc {"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment