Inserts a box with text in the current figure.
Parameters : | text : string
color : pyx.color.*.*
bgcolor : pyx.color.*.*
loc : tuple of floats
halign : pyx.text.halign.*
valign : pyx.text.valign.*
|
---|
Examples
>>> d = DualEPS()
>>> d.axis_box(xrange=(0,100), yrange=(1e-3,1), ylog=True)
>>> d.insert_image("image.jpg")
>>> d.title_box("Halo 1", loc=(0.05,0.95))
>>> d.save_fig()