Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Earthquakes Note that this dataset is a few years old and does not include many recent earthquakes, in particular, the recent devastating earthquake that struck

Earthquakes Note that this dataset is a few years old and does not include many recent earthquakes, in particular, the recent devastating earthquake that struck Turkey and Syria. Write a function plot_world_earthquakes that takes in two GeoDataFrame objects and generates a plot using the two datasets. countries of the world, each represented as a Polygon or MultiPolygon. quakes of the world, each represented as a Point. Call subplots with figsize=(15, 7) to enlarge the plot. Start by plotting all countries in the background color='#EEEEEE'. Then, plot all countries with an earthquake in the background color='#1086A5'. Finally plot each earthquake point in the color='#FFA056'. Save the plot by calling plt.savefig('world_quake_map.png') Plot of world earthquakes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions