gnome.utilities.plotting ======================== .. py:module:: gnome.utilities.plotting Attributes ---------- .. autoapisummary:: gnome.utilities.plotting.parser gnome.utilities.plotting.args gnome.utilities.plotting.test_filename gnome.utilities.plotting.spill_location gnome.utilities.plotting.qapp Classes ------- .. autoapisummary:: gnome.utilities.plotting.GridGeoGenerator gnome.utilities.plotting.ApplicationWindow Module Contents --------------- .. py:data:: parser .. py:data:: args :value: None .. py:data:: test_filename .. py:data:: spill_location .. py:class:: GridGeoGenerator(crs=None, filename=None) Bases: :py:obj:`object` .. py:attribute:: node_line_appearance .. py:attribute:: node_line_masked_appearance .. py:attribute:: node_marker_appearance .. py:attribute:: node_marker_masked_appearance .. py:attribute:: edge1_line_appearance .. py:attribute:: edge1_line_masked_appearance .. py:attribute:: edge1_marker_appearance .. py:attribute:: edge1_marker_masked_appearance .. py:attribute:: edge2_line_appearance .. py:attribute:: edge2_line_masked_appearance .. py:attribute:: edge2_marker_appearance .. py:attribute:: edge2_marker_masked_appearance .. py:attribute:: center_line_appearance .. py:attribute:: center_line_masked_appearance .. py:attribute:: center_marker_appearance .. py:attribute:: center_marker_masked_appearance .. py:attribute:: crs :value: None .. py:method:: get_lonlat(grid_obj, location_name) .. py:method:: get_mask_raw(grid_obj, location_name, scale=30) .. py:method:: get_mask_raw_invert(grid_obj, location_name, scale=30) .. py:method:: get_mask_bool(grid_obj, location_name) .. py:method:: draw_grid_lines(ax, grid_obj, location='node', use_mask=True, appearance=None, plot_crs=None, **kwargs) .. py:method:: gen_grid_lines_S_unmasked(grid_obj, location='node') .. py:method:: gen_grid_lines_S_masked(grid_obj, location='node') .. py:method:: gen_grid_lines_U(grid_obj, location='node') .. py:method:: gen_grid_lines_R(grid_obj, location='node') .. py:method:: get_max_extent(grid_obj, margin=0.1) .. py:method:: gen_grid_points(grid_obj, location='node') .. py:method:: gen_quad_subsample_grid(grid_obj, quad_index, subsample=10) .. py:method:: index_query(grid_obj, position) .. py:class:: ApplicationWindow Bases: :py:obj:`matplotlib.backends.qt_compat.QtWidgets.QMainWindow` .. py:attribute:: all_lines_checkbox .. py:attribute:: center_markers_water_checkbox .. py:attribute:: center_markers_land_checkbox .. py:attribute:: edge1_markers_water_checkbox .. py:attribute:: edge1_markers_land_checkbox .. py:attribute:: edge2_markers_water_checkbox .. py:attribute:: edge2_markers_land_checkbox .. py:attribute:: plot_crs_class .. py:attribute:: g3_crs_class .. py:attribute:: gc .. py:attribute:: masked_node_lines .. py:attribute:: markerscale :value: 60 .. py:method:: callback_wrapper(func, location, land_or_water, *args, **kwargs) .. py:method:: toggle_markers(state, self, location, land_or_water) :staticmethod: .. py:method:: cell_index_lookup(event) .. py:method:: draw_query_result(query_result) .. py:method:: draw_spill(spill_location) .. py:method:: toggle_unmasked_grid_lines(state, self, *args) :staticmethod: .. py:data:: qapp