wolfhece.pyviews

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

class wolfhece.pyviews.WolfViews(idx: str = '', plotted: bool = True, mapviewer=None, need_for_wx: bool = False)[source]

Bases: wolfhece.drawing_obj.Element_To_Draw

Inheritance diagram of wolfhece.pyviews.WolfViews

Class to permit complex views, combination of different objects which can be plotted.

Inherits from Element_To_Draw.

delete_lists()[source]

Delete the lists of elements and palettes.

read_from_file(fn)[source]
change_gui(newmapviewer)[source]

Change the mapviewer of the view and all its elements.

add_elemt(added_elemt, pal=None, fix=False)[source]

Add an element to the view.

Parameters:
  • added_elemt – Element to add.

  • pal – Palette to use for the element.

add_elemts(added_elemts: list, pals=None, fixes=None)[source]

Add a list of elements to the view.

Parameters:
  • added_elemts – List of elements to add.

  • pals – List of palettes to use for the elements.

plot(sx=None, sy=None, xmin=None, ymin=None, xmax=None, ymax=None, size=None)[source]

Plot the view.

find_minmax()[source]

Find the spatial bounds of the view.