Skip to content

Commit 51b8e3b

Browse files
committed
add plastic heatmap + bar
1 parent 16df2da commit 51b8e3b

5 files changed

+30
-4
lines changed

src/pages/barplot.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,16 +244,21 @@ export default function Barplot() {
244244
even better, submit a <a href="https://github.com/holtzy/The-Python-Graph-Gallery">Pull Request</a>!
245245
</p>
246246
<Row>
247-
<Col xs={12} md={6}>
247+
<Col xs={12} md={4}>
248248
<Link to={"/web-circular-barplot-with-matplotlib"}>
249249
<ChartImage imgName={"web-circular-barplot-with-matplotlib-square"} caption={"A circular barchart with several features per group made with Python and Matplotlib."} />
250250
</Link>
251251
</Col>
252-
<Col xs={12} md={6}>
252+
<Col xs={12} md={4}>
253253
<Link to={"/web-horizontal-barplot-with-labels-the-economist"}>
254254
<ChartImage imgName={"web-horizontal-barplot-with-labels-the-economist-square"} caption={"Lear how to mimick the style of the Economist on this horizontal barplot."} />
255255
</Link>
256256
</Col>
257+
<Col xs={12} md={4}>
258+
<Link to={"/web-heatmap-and-radial-barchart-plastics"}>
259+
<ChartImage imgName={"web-heatmap-and-radial-barchart-plastics-square2"} caption={"How to combine a heatmap with a radial barplot on the same figure with heaps of visual tweaks."} />
260+
</Link>
261+
</Col>
257262
</Row>
258263
</Container>
259264

src/pages/heatmap.js

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Row from "react-bootstrap/Row";
77
import ChartImageContainer from "../components/ChartImageContainer";
88
import ChartFamilySection from "../components/ChartFamilySection";
99
import { Link } from "gatsby";
10-
import { Seaborn } from "../components/MiscellaneousLogos"
10+
import { Matplotlib, Seaborn } from "../components/MiscellaneousLogos"
1111
import { Button, Col } from "react-bootstrap";
1212
import CodeChunk from "../components/CodeChunk"
1313
import ChartImage from "../components/ChartImage";
@@ -176,7 +176,7 @@ export default function Heatmap() {
176176
<Spacing />
177177

178178

179-
<Container>
179+
<Container>
180180
<h2 id="Timeseries">Heatmap for timeseries</h2>
181181
<p>
182182
A heatmap can be used to display some temporal data. Here is an example using <Link to="/matplotlib">matplotlib</Link> where
@@ -191,6 +191,27 @@ export default function Heatmap() {
191191

192192
<Spacing />
193193

194+
195+
<Container>
196+
<h2 id="From the web"><Matplotlib />From the web</h2>
197+
<p>The web is full of astonishing charts made by awesome bloggers, (often
198+
using <a href="https://www.r-graph-gallery.com">R</a>).
199+
The <a href="https://www.python-graph-gallery.com">Python graph gallery</a> tries to
200+
display (or translate from R) some of the best creations and explain how their source
201+
code works. If you want to display your work here, please drop me a word or
202+
even better, submit a <a href="https://github.com/holtzy/The-Python-Graph-Gallery">Pull Request</a>!
203+
</p>
204+
<Row>
205+
<Col xs={12} md={8}>
206+
<Link to={"/web-heatmap-and-radial-barchart-plastics"}>
207+
<ChartImage imgName={"web-heatmap-and-radial-barchart-plastics"} caption={"How to combine a heatmap with a radial barplot on the same figure with heaps of visual tweaks."} />
208+
</Link>
209+
</Col>
210+
</Row>
211+
</Container>
212+
213+
<Spacing />
214+
194215
<div className="greySection" id="related">
195216
<Container>
196217
<ChartFamilySection chartFamily="correlation" />
121 KB
Loading
93.1 KB
Loading
230 KB
Loading

0 commit comments

Comments
 (0)