Git Product home page Git Product logo

perl5-chart-ggplot's Introduction

Polyglot developer: Python, Perl, C++, Rust, etc.

Websites

  • metrowatch.net Tracks and visualizes metro systems traffic of cities in China.

perl5-chart-ggplot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

perl5-chart-ggplot's Issues

Error installation " Failed test: 14 Non-zero exit status: 1".

System information:
System:
Host: mx Kernel: 4.19.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0
Desktop: Xfce 4.12.3 Distro: MX-18.1_x64 Continuum Feb 9 2019
base: Debian GNU/Linux 9 (stretch)
Machine:
Type: Portable System: Dell product: Inspiron 5545 v: A02 serial:
Mobo: Dell model: 0D5K2H v: A00 serial: UEFI [Legacy]: Dell
v: A02 date: 06/17/2014


Cpan report:
cpan Chart-GGPlot.txt

gradient_n_pal to interpolate in the CIELab color space

R's scales::gradient_n_pal() uses the Lab space. Now in Chart::GGPlot we use the RGB space. The two are somewhat different. This would affect the result scale_color/fill_gradient().

https://metacpan.org/pod/Graphics::ColorObject has functions for converting between RGB and Lab space. But this project is not maintained after 2005 and cannot even install. We probabaly can test it and if it's good we can port only what's necessary to our code.

scatter point shapes

Now only filled circle is supported. To support various point shapes in a future release.

"tile" geom

This would be useful for creating things like heatmap.

Including Chart::GGPlot conflicts with Parallel::ForkManager

I am currently running Strawberry Perl 5.32.1 on Windows 11 22H2. I am writing scripts to do some bulk data processing which necessitates parallelism. I have discovered that including Chart::GGPlot and any module in Parallel causes failures in forking. The issue is simple to replicate. The following code fails to run:

`use Parallel::ForkManager;
use Chart::GGPlot;
use Autoloader;

my $pm = Parallel::ForkManager->new(3);

$pm->run_on_finish(
sub {
my ($pid, $exit_code, $ident, $exit_signal, $core_dump, $return_ref) = @_;
my $returned = ${$return_ref};
print "Child with ", $returned->{"filename"}, " finished.\n";
}
);

LOOP:
foreach my $file (@argv) {
my $pid = $pm->start and next LOOP;
print "Starting with $file \n";
my $return_data = {};
$return_data->{"filename"} = $file;
$pm->finish(0, $return_data);
}
$pm->wait_all_children;

print "Is this gonna work???\n";`

Note that no error is immediately thrown, and the code simply terminates early. However, commenting out the usage of Chart::GGPlot allows the code to execute to completion. I can also try to fish out error messages if that would be helpful.
Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.