Skip to content

Tag: matplotlib

Show Average Per Month

I have the following dataset: I am trying to create a graph using matplotlib that shows the average number of task by Month & Year. I was able to complete the calculations for average and was converted the date column to show only the Month and Year. However, when I go to plot, only the year appears. Plot…

How to find the right cartopy projection?

I need to plot some data in Germany with cartopy. The data part of my plot works fine (so I deleted it for now). Unfortunately, the shape of the country is deformed due to the projection. I am currently using the PlateCarree projection, but changing it to Orthographic or others created the same plot. How to i…

Hiding axes values in Matplotlib

I want to hide the x,y axes values as highlighted in the figure. Is it possible to do it? I also attach the expected representation. The expected representation is Answer You need to empty x and y tick labels from ax variable: