pub struct FigText {
pub x: f64,
pub y: f64,
pub s: String,
pub opts: Vec<Opt>,
}
Expand description
Some text placed in a figure via figure [0, 1] coordinates.
fig.text({x}, {y}, {s}, **{opts})
Prelude: No
JSON data: [float, float, str]
Note that this python command calls a method of the fig
variable,
rather than ax
.
Fields§
§x: f64
X-coordinate.
y: f64
Y-coordinate.
s: String
Text to place.
opts: Vec<Opt>
Option keyword arguments.
Implementations§
Trait Implementations§
Source§impl Matplotlib for FigText
impl Matplotlib for FigText
Source§fn is_prelude(&self) -> bool
fn is_prelude(&self) -> bool
Return
true
if self
should be considered as a prelude item, which
are execute in the order seen but before any non-prelude items.Source§impl MatplotlibOpts for FigText
impl MatplotlibOpts for FigText
impl StructuralPartialEq for FigText
Auto Trait Implementations§
impl Freeze for FigText
impl RefUnwindSafe for FigText
impl Send for FigText
impl Sync for FigText
impl Unpin for FigText
impl UnwindSafe for FigText
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more