Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I've found the Chart::GGPlot library that looks great, but unfortunatey I cannot manage to use it because I get an error.
This is the sample code and the error.
Thank you if you can provide me with some indication.
Roberto
use Chart::GGPlot qw(:all); use PDL; my $df = Data::Frame->new( columns => [ x => pdl(1,2,3,8,7), y => pdl(260,34,64,23,6) ] ); my $p = ggplot( data => $df, mapping => aes(x => 'ws', y => 'wd') )->geom_point( alpha => 0.05 ); $p->show()
This is giving me the error:
Error in eval_tidy('ws', ...) : Bareword "ws" not allowed while "stric +t subs" in use at make_plot_test.pl line 10. at /usr/local/share/perl/5.26.1/Eval/Quosure.pm line 76. at /usr/local/share/perl/5.26.1/Data/Frame/Partial/Eval.pm line 41.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error with Chart::GGPlot
by soonix (Chancellor) on Oct 01, 2020 at 08:17 UTC | |
|
Re: Error with Chart::GGPlot
by perlfan (Parson) on Sep 30, 2020 at 18:39 UTC | |
|
Re: Error with Chart::GGPlot
by Anonymous Monk on Oct 01, 2020 at 16:17 UTC |