'use strict'; var boxLayoutAttrs = require('../box/layout_attributes'); var extendFlat = require('../../lib').extendFlat; module.exports = { violinmode: extendFlat({}, boxLayoutAttrs.boxmode, { description: [ 'Determines how violins at the same location coordinate', 'are displayed on the graph.', 'If *group*, the violins are plotted next to one another', 'centered around the shared location.', 'If *overlay*, the violins are plotted over one another,', 'you might need to set *opacity* to see them multiple violins.', 'Has no effect on traces that have *width* set.' ].join(' ') }), violingap: extendFlat({}, boxLayoutAttrs.boxgap, { description: [ 'Sets the gap (in plot fraction) between violins of', 'adjacent location coordinates.', 'Has no effect on traces that have *width* set.' ].join(' ') }), violingroupgap: extendFlat({}, boxLayoutAttrs.boxgroupgap, { description: [ 'Sets the gap (in plot fraction) between violins of', 'the same location coordinate.', 'Has no effect on traces that have *width* set.' ].join(' ') }) };