Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started