How to use custom png image marker with plot?
I would like to utilize customer markers in both scatter and line charts. How can I make custom marker out of a PNG file?
I would like to utilize customer markers in both scatter and line charts. How can I make custom marker out of a PNG file?
How can I change the format of the numbers in the x-axis to be like 10,000 instead of 10000?
Ideally, I would just like to do something like this:
I know how to cycle through a list of colors in matplotlib. But is it possible to do something similar with line styles (plain, dotted, dashed, etc.)? I’d need to do that so my graphs would be easier to read when printed. Any suggestions how to do that?
I would like to get data from a single contour of evenly spaced 2D data (an image-like data).
Final Edit:
I am plotting some big numbers with matplotlib in a pyqt program using python 2.7. I have a y-axis that ranges from 1e+18 to 3e+18 (usually). I’d like to see each tick mark show values in scientific notation and with 2 decimal places. For example 2.35e+18 instead of just 2e+18 because values between 2e+18 and 3e+18 still read just 2e+18 for a few tickmarks. Here is an example of that problem.
The labels on my horizontal colorbar are too close together and I don’t want to reduce text size further:
In a script where I create many figures with fix, ax = plt.subplots(...), I get the warning RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (matplotlib.pyplot.figure) are retained until explicitly closed and may consume too much memory.
consider the following pandas series s and plot
When plotting a graph with a discontinuity/asymptote/singularity/whatever, is there any automatic way to prevent Matplotlib from ‘joining the dots’ across the ‘break’? (please see code/image below).
I read that Sage has a [detect_poles] facility that looked good, but I really want it to work with Matplotlib.