Back to templates
Matplotlib 2D densityChart
General2D histogramChart/Density plot, Show density hotspots of joint distribution of two variables.
Publisher: Xiao
Published: 2026/6/2
ID: 73
Usage: 0·Views: 0·Favorites: 0
PYTHONcustom
Parameters (5)
- • Width (Default: 10)
- • Height (Default: 6)
- • DPI (Default: 300)
- • Binning (Default: 20)
- • Chart title (Default: 2D Histogram)
Template Inheritance
Parent:None
Children:None
Data Format Requirements
Required Columns
- xTextRequired
- yTextRequired
Example Data
You can directly copy and save as data.csv for upload.
x,y
7.3,1.61
8.6,1.44
7.2,-1
8.7,0.64
8.1,-1.4
7.2,0.29
8,0.53
9,-0.31
5.4,-0.87
8.2,0.32
3.4,1.77
8.9,-1.55
5,0.1
4,-0.25
6.4,1.94Chart Preview
How to Use
1.Extract/Search/Create Template
Upload images to let AI extract templates in one click, search and select templates, or create templates.
2.View Sample Data
View sample data and manually or via AI modify the data structure to meet template requirements.
3.Upload Data & Run
Upload data, run the template, preview results, and adjust parameters/code to modify the template and chart.
4.Save & Export Chart
Export charts in PNG / JPG / SVG / PDF formats or save to OOPLOT.