Hello everybody,
I am trying to write a rule for AwesomeWM, so that all matplotlib
related windows would be floating and not tiled. For this purpose I want
to filter matplotlib windows by some window attribute, like class,
instance or title. Is there a way to modify the window class or instance
ea
I have an error when running my script using matplotlib using IDLE. I
suspect it is something to do with either numpy or matplotlib and I was
wondering if any other users have had a similar problem. I have recently
installed Python, matplotlib and numpy, I have not had it working correctly
using ID
One way to use images as a marker would be to use offsetbox module.
Here is an example adopted from
http://matplotlib.sourceforge.net/examples/pylab_examples/demo_annotation_box.html
Regards,
-JJ
import matplotlib.pyplot as plt
from matplotlib.offsetbox import OffsetImage, AnnotationBbox
from
Hi, JJ,
I wonder why the simple text command does not work for you? e.g.,
>
> def add_center_text(ax):
>ax.text(0.5, 0.9075, "Centered Title", ha='center', va='center',
> fontsize=18,
>bbox=dict(boxstyle='round, pad=0.5, rounding_size=0.25',
> fc="white",
> ec=
I wonder why the simple text command does not work for you? e.g.,
def add_center_text(ax):
ax.text(0.5, 0.9075, "Centered Title", ha='center', va='center',
fontsize=18,
bbox=dict(boxstyle='round, pad=0.5, rounding_size=0.25', fc="white",
ec="k", lw=2),