Data For Science

Data For Science

Visualization

3D Surface Plot

Bruno Gonçalves's avatar
Bruno Gonçalves
Feb 20, 2022
∙ Paid

Welcome to the latest post of the Viz4Sci substack. This week we continue the exploration of matplotlib’s 3D plotting capabilities that we started in a previous post by using plot_surface to generate a 3D view of the population distribution of the 48 lower United States.

We finalize by adding a custom light source and shading to make the resulting figure…

Keep reading with a 7-day free trial

Subscribe to Data For Science to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Data For Science, Inc · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture