Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""Tests for interactive plotting tools"""
2import unittest
3from gpkit.interactive.plotting import treemap
4import gpkit
7class TestPlotting(unittest.TestCase):
8 """TestCase for gpkit.interactive.plotting"""
9 def test_treemap(self):
10 # m = Model() TODO
11 fig = treemap(m)
12 # fig.show(renderer="browser")
15TESTS = [TestPlotting]
18if __name__ == "__main__": # pragma: no cover
19 # pylint: disable=wrong-import-position
20 from gpkit.tests.helpers import run_tests
21 run_tests(TESTS)