Commit 7c89ff4d authored by Daniel Scheffler's avatar Daniel Scheffler

Added tests for plotting functions.

parent 345c9ca9
Pipeline #1590 passed with stages
in 1 minute and 23 seconds
......@@ -35,6 +35,7 @@ import unittest
from unittest import TestLoader
import matplotlib
from typing import Iterable
from importlib import util
# Imports regarding the created python module.
from py_tools_ds.geo.vector import geometry
......@@ -510,8 +511,10 @@ class Test_GeoarrayFunctions(unittest.TestCase):
# TODO: https://github.com/ketch/griddle/blob/master/tests/plot_tests.py
self.testtiff.show()
# self.testtiff.show(interactive=True) # only works if test is started with ipython.
# self.testtiff.show_map()
# self.testtiff.show_map_utm() # Function still under construction.
if util.find_spec('mpl_toolkits.basemap'):
self.testtiff.show_map()
self.testtiff.show_map_utm() # Function still under construction.
self.testtiff.show_histogram()
# ----> TODO: Write tests for the remaining functions!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment