Dike plotting module¶
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
KOSWAT, from the dutch combination of words Kosts-Wat (what are the costs)
Copyright (C) 2025 Stichting Deltares
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
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.
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
KOSWAT, from the dutch combination of words Kosts-Wat (what are the costs)
Copyright (C) 2025 Stichting Deltares
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
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: |
|
|---|
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
KOSWAT, from the dutch combination of words Kosts-Wat (what are the costs)
Copyright (C) 2025 Stichting Deltares
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
KOSWAT, from the dutch combination of words Kosts-Wat (what are the costs)
Copyright (C) 2025 Stichting Deltares
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.