Skip to content
Advertisement

Tag: contourf

Python highlight user chosen area in contourf plot

What is the best solution for highlighting an area in a contourf plot? I want the background to be opacity of 0.5 and the user chosen area to be normal. How can I achieve this? Answer In How to nicely plot clipped layered artists in matplotlib? Jake Vanderplas shows a way to draw a rectangle with a rectangular hole. The

Advertisement