ings;
use utf8;
use Exporter 'import';
use vars qw(@EXPORT_OK);
@EXPORT_OK = qw(show_plot);
use JSON;
use Params::Validate qw(:all);
use Text::Template;
use Module::Load;
use Ref::Util;
use HTML::Sh
= shift;
my $json_formatter = JSON->new->utf8->allow_blessed(1)->convert_blessed(1);
local *PDL::TO_JSON = sub { $_[0]->unpdl };
my $data_string = $json_formatter->encode($data);
tructure of the json expected by BokehJS: L<http://plot.ly/javascript/reference/> (this data would be serialized to JSON)
=item Anything that could be serialized to JSON with the json expected by Bok