Polyglot developer: Python, Perl, C++, Rust, etc.
- metrowatch.net Tracks and visualizes metro systems traffic of cities in China.
ggplot port in Perl
Polyglot developer: Python, Perl, C++, Rust, etc.
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
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.
Are there any plans to upload package to conda? I did not have problems installing it separately with cpan but using conda would help to ensure reproducibility of the pipeline.
Now only filled circle is supported. To support various point shapes in a future release.
This would be useful for creating things like heatmap.
This will be something as https://ggplot2.tidyverse.org/reference/geom_smooth.html
In the Perl space the main blocker to have very basic support of this feature is that there is not a LOESS implementation. Need to look at R or Python scikit-misc's implementation and probably to write a separate XS package.
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
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.