|
| 1 | +/** |
| 2 | +* Copyright 2012-2015, Plotly, Inc. |
| 3 | +* All rights reserved. |
| 4 | +* |
| 5 | +* This source code is licensed under the MIT license found in the |
| 6 | +* LICENSE file in the root directory of this source tree. |
| 7 | +*/ |
| 8 | + |
| 9 | + |
| 10 | +'use strict'; |
| 11 | + |
| 12 | +var Plotly = require('../../plotly'); |
| 13 | + |
| 14 | +Plotly.Plots.register(exports, 'histogram2d', |
| 15 | + ['cartesian', '2dMap', 'histogram'], { |
| 16 | + hrName: 'histogram_2d', |
| 17 | + description: [ |
| 18 | + 'The sample data from which statistics are computed is set in `x`', |
| 19 | + 'and `y` (where `x` and `y` represent marginal distributions,', |
| 20 | + 'binning is set in `xbins` and `ybins` in this case)', |
| 21 | + 'or `z` (where `z` represent the 2D distribution and binning set,', |
| 22 | + 'binning is set by `x` and `y` in this case).', |
| 23 | + 'The resulting distribution is visualized as a heatmap.' |
| 24 | + ].join(' ') |
| 25 | +}); |
| 26 | + |
| 27 | +exports.attributes = require('../heatmap/attributes'); |
| 28 | + |
| 29 | +exports.supplyDefaults = require('../heatmap/defaults'); |
| 30 | + |
| 31 | +exports.calc = require('../heatmap/calc'); |
| 32 | + |
| 33 | +exports.plot = require('../heatmap/plot'); |
| 34 | + |
| 35 | +exports.colorbar = require('../heatmap/colorbar'); |
| 36 | + |
| 37 | +exports.style = require('../heatmap/style'); |
| 38 | + |
| 39 | +exports.hoverPoints = require('../heatmap/hover'); |
0 commit comments