Skip to content

Commit e54f975

Browse files
committed
Cleanup all the backends
1 parent cfde5d2 commit e54f975

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

examples/gtk-demo/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ edition = "2018"
77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10-
plotters = {path = "../..", features = ["cairo"]}
10+
plotters = {path = "../.."}
11+
plotters-cairo = "0.1.*"
1112
cairo-rs = "0.8.1"
1213
gtk = "0.8.1"
1314
gio = "0.8.1"

examples/gtk-demo/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use gtk::DrawingArea;
66

77
use cairo::Context;
88
use plotters::prelude::*;
9+
use plotters_cairo::CairoBackend;
910

1011
fn build_ui(app: &gtk::Application) {
1112
drawable(app, 500, 500, |_, cr| {

0 commit comments

Comments
 (0)