I have two 2D-histograms, one with much more bins in each direction than the other. The both have the same original dataset. I want to show the higher detail histogram, and make a contourplot of the less detailed one. I also want the lines in the colorbar, to denote the levels of the contourlines.
However, if I add the lines to the colorbar (with add_lines
), they end up in the wrong place, because the colorbar is from the higher detailed one, thus having lower values.
Is there a way to get the output from pyplot.contour()
, without actually plotting it? Because the contourlines from the high detail histogram causes my pdf file to be too big. I tried setting the linewidth or color to none
, but my pdf is still too big.