Skip to content

Commit

Permalink
Merge pull request #17 from scicloj/plot-as-svg
Browse files Browse the repository at this point in the history
rendering Hanami plots as SVG by default
  • Loading branch information
daslu authored Mar 12, 2024
2 parents 7344c29 + dc9ee99 commit c52d6ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Change Log
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).

## [1-alpha29] - unreleased
- rendering Hanami plots as SVG by default

## [1-alpha28] - 2024-02-29
- removed the tensor->image function, as it exists in dtype-next now (#14)

Expand Down
2 changes: 2 additions & 0 deletions src/scicloj/noj/v1/vis/hanami.clj
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
(merge options)
(->> (apply concat)
(apply hc/xform template))
(assoc :usermeta
{:embedOptions {:renderer :svg}})
kind/vega-lite)))

(defn collector [template template-key]
Expand Down

0 comments on commit c52d6ec

Please sign in to comment.