From: Leo Famulari <leo@famulari.name>
To: 30570@debbugs.gnu.org
Subject: [bug#30570] [PATCH 02/16] gnu: Add python-plotly.
Date: Wed, 21 Feb 2018 14:35:06 -0500 [thread overview]
Message-ID: <42c9ce6bc08101877cc5e99ce55f08cd8ba2d790.1519241713.git.leo@famulari.name> (raw)
In-Reply-To: <7597f2a5e819b04be0bd24566b4fcd7950abb5c1.1519241713.git.leo@famulari.name>
In-Reply-To: <7597f2a5e819b04be0bd24566b4fcd7950abb5c1.1519241713.git.leo@famulari.name>
* 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 70df77b5d..e22b981ac 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -32,7 +33,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
@@ -172,3 +176,34 @@ model.")
"This package interfaces R with the graphviz library for plotting R graph
objects from the @code{graph} package.")
(license license:epl1.0)))
+
+(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))
--
2.16.1
next prev parent reply other threads:[~2018-02-21 19:37 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-21 19:32 [bug#30570] Patches submitted on behalf of Nextjournal Leo Famulari
2018-02-21 19:35 ` [bug#30570] [PATCH 01/16] gnu: Add flatbuffers Leo Famulari
2018-02-21 19:35 ` Leo Famulari [this message]
2018-03-03 21:38 ` [bug#30570] [PATCH 02/16] gnu: Add python-plotly Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 03/16] gnu: Add r-maps Leo Famulari
2018-03-03 21:39 ` Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 04/16] gnu: Add r-mapproj Leo Famulari
2018-03-03 21:43 ` Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 05/16] gnu: Add Rgooglemaps Leo Famulari
2018-03-03 21:42 ` Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 06/16] gnu: Add r-geosphere Leo Famulari
2018-03-03 21:43 ` Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 07/16] gnu: Add r-subplex Leo Famulari
2018-03-03 21:40 ` Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 08/16] gnu: Add r-desolve Leo Famulari
2018-03-03 21:41 ` Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 09/16] gnu: Add Diversitree Leo Famulari
2018-03-03 21:42 ` Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 10/16] gnu: Add r-jpeg Leo Famulari
2018-03-03 21:39 ` Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 11/16] gnu: Add r-ggmap Leo Famulari
2018-03-03 21:42 ` Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 12/16] gnu: Add r-feather Leo Famulari
2018-02-21 19:35 ` [bug#30570] [PATCH 13/16] gnu: Add google-brotli Leo Famulari
2018-03-03 21:47 ` Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 14/16] gnu: Add apache-arrow Leo Famulari
2018-03-03 21:48 ` Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 15/16] gnu: Add python-pyarrow Leo Famulari
2018-03-03 21:48 ` Ludovic Courtès
2018-02-21 19:35 ` [bug#30570] [PATCH 16/16] gnu: Add python-feather-format Leo Famulari
2018-03-03 21:50 ` Ludovic Courtès
2018-03-15 15:01 ` bug#30570: " Leo Famulari
2018-03-03 21:38 ` [bug#30570] [PATCH 01/16] gnu: Add flatbuffers Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42c9ce6bc08101877cc5e99ce55f08cd8ba2d790.1519241713.git.leo@famulari.name \
--to=leo@famulari.name \
--cc=30570@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.