unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 51028@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#51028] [PATCH 2/7] gnu: Add julia-pyplot.
Date: Tue,  5 Oct 2021 12:47:31 +0300	[thread overview]
Message-ID: <ba7ca383dce4662eace34bb70defc2eb0d4d51e4.1633411929.git.efraim@flashner.co.il> (raw)
In-Reply-To: <cover.1633411929.git.efraim@flashner.co.il>

* gnu/packages/julia-xyz.scm (julia-pyplot): New variable.
---
 gnu/packages/julia-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 2238acf103..5925ca2417 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -3280,6 +3280,35 @@ (define-public julia-pycall
 share large data structures between Julia and Python without copying them.")
     (license license:expat)))
 
+(define-public julia-pyplot
+  (package
+    (name "julia-pyplot")
+    (version "2.10.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JuliaPy/PyPlot.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "007zs0imfgs69f30pp2a3rc93kl0qiq7qjx6ig35z4wzkmps4skd"))))
+    (build-system julia-build-system)
+    (propagated-inputs
+     `(("julia-colors" ,julia-colors)
+       ("julia-latexstrings" ,julia-latexstrings)
+       ("julia-pycall" ,julia-pycall)
+       ("julia-versionparsing" ,julia-versionparsing)
+       ;; python-matplotlib is expected to be available at runtime.
+       ("python-matplotlib" ,python-matplotlib)))
+    (home-page "https://github.com/JuliaPy/PyPlot.jl")
+    (synopsis "Plotting for Julia based on matplotlib.pyplot")
+    (description "This module provides a Julia interface to the Matplotlib
+plotting library from Python, and specifically to the @code{matplotlib.pyplot}
+module.  PyPlot uses the Julia PyCall package to call Matplotlib directly from
+Julia with little or no overhead (arrays are passed without making a copy).")
+    (license license:expat)))
+
 (define-public julia-quadgk
   (package
     (name "julia-quadgk")
-- 
2.33.0





  parent reply	other threads:[~2021-10-05  9:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05  9:35 [bug#51028] [PATCH 0/7] More julia packages Efraim Flashner
2021-10-05  9:47 ` [bug#51028] [PATCH 1/7] gnu: Add julia-latexstrings Efraim Flashner
2021-10-05  9:47 ` Efraim Flashner [this message]
2021-10-11 11:22   ` [bug#51028] [PATCH 0/7] More julia packages zimoun
2021-10-05  9:47 ` [bug#51028] [PATCH 3/7] gnu: Add julia-dataframes Efraim Flashner
2021-10-11 11:51   ` [bug#51028] [PATCH 0/7] More julia packages zimoun
2021-10-05  9:47 ` [bug#51028] [PATCH 4/7] gnu: Add julia-bson Efraim Flashner
2021-10-05  9:47 ` [bug#51028] [PATCH 5/7] gnu: Add julia-expronicon Efraim Flashner
2021-10-05  9:47 ` [bug#51028] [PATCH 6/7] gnu: Add julia-configurations Efraim Flashner
2021-10-11 12:01   ` [bug#51028] [PATCH 0/7] More julia packages zimoun
2021-10-05  9:47 ` [bug#51028] [PATCH 7/7] gnu: Add julia-structarrays Efraim Flashner
2021-10-11 12:03 ` [bug#51028] [PATCH 0/7] More julia packages zimoun
2021-10-12  5:44   ` bug#51028: " Efraim Flashner

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ba7ca383dce4662eace34bb70defc2eb0d4d51e4.1633411929.git.efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=51028@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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).