In matplotlib
, I am using LineCollection
to draw and color the countries, where the boundaries of the counties are given. When I am saving the figu
I think using "rasterized = True" effectively saves the image similarly to png format. When you zoom in, you will see blurring pixels.
If you want the figures to be high quality, my suggestion is to sample from the data and make a plot. The pdf file size is roughly the amount of data points it need to remember.