pub enum ItemCycle {
RawPaths,
Agg,
}Expand description
How the items of a PathCollection cycle through its shapes and
their transforms, which matplotlib’s backends do two ways.
Variants§
RawPaths
RendererBase._iter_collection, which the vector backends use:
max(max(paths, path_transforms), offsets) items, item i drawing
the raw path (a shape with its transform, see
PathCollection::raw_paths) i mod max(paths, path_transforms).
Agg
Agg’s draw_path_collection: max(paths, offsets) items, item i
drawing shape i mod paths with transform i mod path_transforms, so that transforms beyond the items are never
drawn.
Trait Implementations§
impl Copy for ItemCycle
impl Eq for ItemCycle
impl StructuralPartialEq for ItemCycle
Auto Trait Implementations§
impl Forget for ItemCycle
impl Freeze for ItemCycle
impl Move for ItemCycle
impl RefUnwindSafe for ItemCycle
impl Send for ItemCycle
impl Sync for ItemCycle
impl Unpin for ItemCycle
impl UnsafeUnpin for ItemCycle
impl UnwindSafe for ItemCycle
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