geoplot 0.5.1


High-level geospatial plotting for Python.

High-level geospatial plotting for Python.

Stars: 1080, Watchers: 1080, Forks: 94, Open Issues: 21

The ResidentMario/geoplot repo was created 7 years ago and the last code push was 1 months ago.
The project is very popular with an impressive 1080 github stars!

How to Install geoplot

You can install geoplot using pip

pip install geoplot

or add it to a project with poetry

poetry add geoplot

Package Details

Aleksey Bilogur
GitHub Repo:


No  geoplot  pypi packages just yet.


A list of common geoplot errors.

Code Examples

Here are some geoplot code examples and snippets.

GitHub Issues

The geoplot package has 21 open issues on GitHub

  • AttributeError: 'MultiPolygon' object has no attribute 'exterior' / TypeError: 'MultiPolygon' object is not iterable
  • ModuleNotFoundError: No module named 'matplotlib.axes._subplots'

See more issues on GitHub

Related Packages & Articles

Random Data Generation & Data Visualization with Python

In this blog post, we’ll utilize the powerful libraries Matplotlib, Numpy and Pandas to perform data generation and visualization. We’ll discuss the programming concepts, methods, and functionalities used in this script.

yellowbrick 1.5

A suite of visual analysis and diagnostic tools for machine learning.

Plot 3 different Pandas Dataframes in the same chart

import pandas as pd import numpy as np from matplotlib import pyplot as plt #using numpy's randint to generate some data df1 = pd.DataFrame(np.random.randint(0,100,size=(10, 2)), columns=list('XY')) df2 = pd.DataFrame(np.random.randint(0,100,size=(10, 2)), columns=list('XY')) df3 = pd.DataFrame(np.random.randint(0,100,size=(10, 2)), columns=list('XY')) df1.head(), df2.head(), df3.head() ( X Y 0 82 32 1 79 13 2 87 19 3 6 73 4 1 38, X Y 0 47 62 1 41 0 2 98 78 3 63 83 4 31 59, X Y 0 57 25 1 49 27 2 9 29 3 93 75 4 23 80) # Get handle of first figure to pass to other plot() calls as ax ax = df1.

Use pandas and matplotlib to produce a chart of natural gas prices

In this example Python code, we use requests to fetch data from the website and json from the Python standard library to parse the json data. Next, we load the daily prices into a Pandas DataFrame and format the date column and set it as the index. Finally, we use Pandas .plot() to create a chart saving it as a png image.