Dike plotting module¶
KoswatLayerPlot
¶
Bases: KoswatPlotProtocol
plot(color: str) -> None
¶
Plots a KoswatLayerProtocol into the provided canvas plot_axes with the requested color.
| Parameters: |
|
|---|
return list(
map(concatenate, zip(*map(lambda x: x.coords.xy, koswat_geometry.geoms)))
)
ValueError: When the KoswatLayerProtocol material has not been registered.
KoswatLayersWrapperPlot
¶
Bases: KoswatPlotProtocol
with_layers_list(layers_list: list[KoswatLayerProtocol]) -> KoswatLayersWrapperPlot
classmethod
¶
Class method to aid the usage of this class with unrelated layers from different wrappers.
| Parameters: |
|
|---|
| Returns: |
|
|---|