Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Icelk committed Feb 25, 2024
1 parent 1177d34 commit 8ca1b72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ colored = { version = "2.0", optional = true }
atty = { version = "0.2.14", optional = true }
clap = { version = "4.0", optional = true, features = ["cargo"] }
clap_autocomplete = { version = "0.4", optional = true }
poloto = { version = "18", optional = true, default-features = false }
hypermelon = "0.5.0"
poloto = { version = "19", optional = true, default-features = false }
tagu = "0.1.6"
rand_xorshift = { version = "0.3.0", optional = true }

[features]
Expand Down
8 changes: 4 additions & 4 deletions src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ fn main() {
))
.text();

use hypermelon::elem::Elem;
use tagu::elem::{Elem, Raw};

let plotter = poloto::frame_build()
.data(poloto::plots!(line, scatter, determination))
Expand All @@ -921,11 +921,11 @@ fn main() {
poloto::header()
.with_dim([1100., 500.])
.with_viewbox([1100., 500.])
.append(poloto::render::Theme::dark())
.append(hypermelon::elem::Element::new("style").append(
.dark_theme()
.append(tagu::elem::Element::new("style").append(Raw::new(
".poloto_legend[y=\"200\"] \
{ transform: translate(0, -60px); }",
)),
))),
);

let data = plotter.render_string().unwrap();
Expand Down

0 comments on commit 8ca1b72

Please sign in to comment.