plotly-js-material-design-theme
Version:
Plotly.js charts with Material Design theme.
19 lines (14 loc) • 323 B
JavaScript
import defaultsDeep from 'lodash.defaultsdeep'
export const histogram2dcontour = configuration => defaultsDeep(configuration, {
contours: {
showlines: false
},
colorscale: [['0', '#4285f4'], ['1', '#93d5ed']],
colorbar: {
len: 1,
outlinewidth: 0,
tickfont: {
color: '#757575'
}
}
})