Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

plotly.js-locales

1.52.1 • Public • Published

plotly.js-locales

Ready-to-use plotly.js locales

For more info on plotly.js, go to https://github.com/plotly/plotly.js

Installation

npm install plotly.js-locales

Usage

For example to setup the fr locale:

// ES6 module
import Plotly from 'plotly.js';
import locale from 'plotly.js-locales/fr';
 
// CommonJS
var Plotly = require('plotly.js');
var locale = require('plotly.js-locales/fr');
 
// then
Plotly.register(locale);
Plotly.setPlotConfig({locale: 'fr'})

Copyright and license

Code and documentation copyright 2020 Plotly, Inc.

Code released under the MIT license.

Docs released under the Creative Commons license.

Install

npm i plotly.js-locales

DownloadsWeekly Downloads

645

Version

1.52.1

License

MIT

Unpacked Size

159 kB

Total Files

78

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar