pub struct Domain<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Domain<'a>
impl<'a> Domain<'a>
Sourcepub fn x(&mut self, x: &'a InfoArray) -> &mut Self
pub fn x(&mut self, x: &'a InfoArray) -> &mut Self
Sets the horizontal domain of this geo subplot (in plot fraction). Note that geo subplots are constrained by domain. In general, when projection.scale
is set to 1. a map will fit either its x or y domain, but not both.
default: [0,1]
Sourcepub fn y(&mut self, y: &'a InfoArray) -> &mut Self
pub fn y(&mut self, y: &'a InfoArray) -> &mut Self
Sets the vertical domain of this geo subplot (in plot fraction). Note that geo subplots are constrained by domain. In general, when projection.scale
is set to 1. a map will fit either its x or y domain, but not both.
default: [0,1]
Sourcepub fn row(&mut self, row: u64) -> &mut Self
pub fn row(&mut self, row: u64) -> &mut Self
If there is a layout grid, use the domain for this row in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when projection.scale
is set to 1. a map will fit either its x or y domain, but not both.
default: 0
Sourcepub fn column(&mut self, column: u64) -> &mut Self
pub fn column(&mut self, column: u64) -> &mut Self
If there is a layout grid, use the domain for this column in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when projection.scale
is set to 1. a map will fit either its x or y domain, but not both.
default: 0