[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/16: gnu: Add python-plotly.
From: |
Leo Famulari |
Subject: |
02/16: gnu: Add python-plotly. |
Date: |
Thu, 15 Mar 2018 11:01:37 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit 5f3616d612273e75334a37c3c94dec490271c7a5
Author: Leo Famulari <address@hidden>
Date: Sat Feb 17 15:55:24 2018 -0500
gnu: Add python-plotly.
* gnu/packages/graph.scm (python-plotly, python2-plotly): New variables.
---
gnu/packages/graph.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 19c9b22..6a5e0e7 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017, 2018 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2018 Joshua Sierles, Nextjournal <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -33,7 +34,10 @@
#:use-module (gnu packages maths)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages python-web)
#:use-module (gnu packages statistics)
+ #:use-module (gnu packages time)
#:use-module (gnu packages xml))
(define-public igraph
@@ -199,3 +203,34 @@ objects from the @code{graph} package.")
represented by horizontal lines, and edges are represented by vertical
lines.")
(license license:expat))))
+
+(define-public python-plotly
+ (package
+ (name "python-plotly")
+ (version "2.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "plotly" version))
+ (sha256
+ (base32
+ "0n18116jz6bl5n9cq23vabv1gcbh1x3yficdnfq55v0z4cwy0zlf"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f)) ; The tests are not distributed in the release
+ (propagated-inputs
+ `(("python-decorator" ,python-decorator)
+ ("python-nbformat" ,python-nbformat)
+ ("python-pytz" ,python-pytz)
+ ("python-requests" ,python-requests)
+ ("python-six" ,python-six)))
+ (home-page "https://plot.ly/python/")
+ (synopsis "Interactive plotting library for Python")
+ (description "Plotly's Python graphing library makes interactive,
+publication-quality graphs online. Examples of how to make line plots, scatter
+plots, area charts, bar charts, error bars, box plots, histograms, heatmaps,
+subplots, multiple-axes, polar charts, and bubble charts. ")
+ (license license:expat)))
+
+(define-public python2-plotly
+ (package-with-python2 python-plotly))
- branch master updated (bb3062a -> 8d4f34d), Leo Famulari, 2018/03/15
- 08/16: gnu: Add r-desolve., Leo Famulari, 2018/03/15
- 05/16: gnu: Add Rgooglemaps., Leo Famulari, 2018/03/15
- 01/16: gnu: Add flatbuffers., Leo Famulari, 2018/03/15
- 02/16: gnu: Add python-plotly.,
Leo Famulari <=
- 04/16: gnu: Add r-mapproj., Leo Famulari, 2018/03/15
- 07/16: gnu: Add r-subplex., Leo Famulari, 2018/03/15
- 16/16: gnu: Add python-feather-format., Leo Famulari, 2018/03/15
- 06/16: gnu: Add r-geosphere., Leo Famulari, 2018/03/15
- 03/16: gnu: Add r-maps., Leo Famulari, 2018/03/15
- 15/16: gnu: Add python-pyarrow., Leo Famulari, 2018/03/15
- 14/16: gnu: Add apache-arrow., Leo Famulari, 2018/03/15
- 11/16: gnu: Add r-ggmap., Leo Famulari, 2018/03/15
- 12/16: gnu: Add r-feather., Leo Famulari, 2018/03/15
- 09/16: gnu: Add Diversitree., Leo Famulari, 2018/03/15