:py:mod:`wolfhece.pyviews` ========================== .. py:module:: wolfhece.pyviews .. autoapi-nested-parse:: Author: HECE - University of Liege, Pierre Archambeau Date: 2024 Copyright (c) 2024 University of Liege. All rights reserved. This script and its content are protected by copyright law. Unauthorized copying or distribution of this file, via any medium, is strictly prohibited. Module Contents --------------- .. py:class:: WolfViews(idx: str = '', plotted: bool = True, mapviewer=None, need_for_wx: bool = False) Bases: :py:obj:`wolfhece.drawing_obj.Element_To_Draw` .. autoapi-inheritance-diagram:: wolfhece.pyviews.WolfViews :parts: 1 :private-bases: Class to permit complex views, combination of different objects which can be plotted. Inherits from Element_To_Draw. .. py:method:: delete_lists() Delete the lists of elements and palettes. .. py:method:: read_from_file(fn) .. py:method:: change_gui(newmapviewer) Change the mapviewer of the view and all its elements. .. py:method:: add_elemt(added_elemt, pal=None, fix=False) Add an element to the view. :param added_elemt: Element to add. :param pal: Palette to use for the element. .. py:method:: add_elemts(added_elemts: list, pals=None, fixes=None) Add a list of elements to the view. :param added_elemts: List of elements to add. :param pals: List of palettes to use for the elements. .. py:method:: plot(sx=None, sy=None, xmin=None, ymin=None, xmax=None, ymax=None, size=None) Plot the view. .. py:method:: find_minmax() Find the spatial bounds of the view.