Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plots generated by solution code for W1D5 Tutorial 7's Code Exercise 2 do not match example output #88

Open
pyneet opened this issue Jul 19, 2024 · 0 comments

Comments

@pyneet
Copy link

pyneet commented Jul 19, 2024

Coding Exercise 2 in W1D5 Tutorial 7 includes the following example output:

No matter how many times I tweaked my code, the resulting maps had land masses that were colored in.

Upon running the solution code within my notebook, I got the exact same result. It looked like this:

w1d5_t7_ce2_solution_code_output

I believe that the cfeatures functionality within cartopy can help resolve this problem. For each plot in the figure, we can replace ax.add_coastline() with the following:

ax.add_feature(cfeature.COASTLINES, edgecolor='#000000')
ax.add_feature(cfeature.LAND, facecolor='#FFFFFF')
@pyneet pyneet changed the title W1D5 Tutorial7 Coding Exercise 2 solution code does not output Plots generated by solution code for W1D5 Tutorial 7's Code Exercise 2 do not match example output Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant