Skip to content

>= 0.0.40 does not work - Missing path separators (Windows 10) #98

@tectin0

Description

@tectin0
use gnuplot::{Color, Figure, PlotOption::Caption};

fn main() {
    let x = [0u32, 1, 2];
    let y = [3u32, 4, 5];

    let mut fg = Figure::new();

    fg.axes2d()
        .lines(&x, &y, &[Caption("A line"), Color("black")]);

    fg.show().unwrap();
}

On version 0.0.40 and above the path separators get lost at some point and result in the error message:

line 0: warning: Cannot find or open file "C:Users<user>AppDataLocalTemp.tmpDx2PP1"
line 0: No data in plot

OS: Windows 10
Gnuplot versions tested: 5.20, 5.28, 5.4.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions