VERSION
# ABSTRACT: This attribute is one of the possible options for the trace scatter.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head1 ATTRIBUTES
=over
=item * color
Sets
VERSION
# ABSTRACT: This attribute is one of the possible options for the trace scatter.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head1 ATTRIBUTES
=over
=item * color
=item
VERSION
# ABSTRACT: This attribute is one of the possible options for the trace scatter.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head1 ATTRIBUTES
=over
=item * color
Sets
VERSION
# ABSTRACT: This attribute is one of the possible options for the trace scatter.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head1 ATTRIBUTES
=over
=item * color
Sets
VERSION
# ABSTRACT: This attribute is one of the possible options for the trace scatter.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head1 ATTRIBUTES
=over
=item * color
Sets
VERSION
# ABSTRACT: This attribute is one of the possible options for the trace scatter.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head1 ATTRIBUTES
=over
=item * color
Sets
VERSION
# ABSTRACT: This attribute is one of the possible options for the trace scatter.
sub TO_JSON {
my $self = shift;
my $extra_args = $self->extra_args // {};
my $meta =
y and I want to use it with perl.
=head1 METHODS
=head2 TO_JSON
Serialize the trace to JSON. This method should be called only by L<JSON> serializer.
=head1 ATTRIBUTES
=over
=item * color
=item
#!/usr/bin/env perl
use strict;
use warnings;
use utf8;
use JSON;
use Path::Tiny;
use Text::Template;
use Scalar::Util;
my $trace_name = shift;
my $plotly_base_path = '../plotly.js';
my $example_
ge/mocks");
for my $mock_json ($plotly_mocks->children(qr/.*\Q$trace_name\E.*\.json$/)) {
print "Processing: $mock_json ...";
my $chart_struct = from_json($mock_json->slurp_utf8);
my
.com/plotly/plotly.js/blob/' . $commit . '/' . $path_for_git;
my $file = path($mock_json->basename('.json') . ".pl");
my $data = $chart_struct->{data};
my %traces_packages;
my @tra