# Geographic (heat)map with pyplot()

**URL:** https://discourse.julialang.org/t/geographic-heat-map-with-pyplot/41015
**Category:** General Usage
**Created:** [June 8, 2020, 7:47pm UTC](https://discourse.julialang.org/t/geographic-heat-map-with-pyplot/41015 "2020-06-08T19:47:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![juliauser](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@juliauser](https://discourse.julialang.org/u/juliauser)
#### Post date: [June 8, 2020, 7:47pm UTC](https://discourse.julialang.org/t/geographic-heat-map-with-pyplot/41015/1 "2020-06-08T19:47:14Z")

</div>

I have a vector of coordinates (long, lat) and the associated vector of a given variable x. How can I generate a heat map that looks like a geographic map in which the variable x takes different shades according to its value and it is located on a plane?

---

<div class="post-metadata">

### Author: ![fgerick](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fgerick/32/13228_2.png) [@fgerick](https://discourse.julialang.org/u/fgerick)
#### Post date: [August 7, 2020, 1:26pm UTC](https://discourse.julialang.org/t/geographic-heat-map-with-pyplot/41015/3 "2020-08-07T13:26:00Z")

</div>

You could use [GitHub - JuliaPlots/GeoMakie.jl: Geographical plotting utilities for Makie.jl](https://github.com/JuliaPlots/GeoMakie.jl) or matplotlibs [cartopy](https://scitools.org.uk/cartopy/docs/v0.15/index.html) through PyCall.jl/PyPlot.jl.
