plotly.js-locales

2.32.0 • 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#readme

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 2024 Plotly, Inc.

Code released under the MIT license.

Docs released under the Creative Commons license.

/plotly.js-locales/

    Package Sidebar

    Install

    npm i plotly.js-locales

    Weekly Downloads

    2,949

    Version

    2.32.0

    License

    MIT

    Unpacked Size

    192 kB

    Total Files

    80

    Last publish

    Collaborators

    • ndrezner
    • lconnors
    • alexshoe
    • t4rk
    • bronsolo
    • jmmease
    • chriddyp
    • bpostlethwaite
    • alexcjohnson
    • nicolaskruchten
    • antrg
    • archmoj
    • xhlu
    • hammadtheone
    • etpinard