-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
62fc3fb
commit 1773f6d
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
"""Tests for graph_plot web component""" | ||
|
||
# SageWorks Imports | ||
from sageworks.api import FeatureSet | ||
from sageworks.web_components.plugins.scatter_plot import ScatterPlot | ||
|
||
|
||
def test_scatter_plot(): | ||
"""Test the ScatterPlot class""" | ||
|
||
# Instantiate a Graph | ||
fs = FeatureSet("abalone_features") | ||
|
||
# Instantiate the ScatterPlot class | ||
plot = ScatterPlot() | ||
|
||
# Generate the figure (it's the first element in the property list) | ||
all_properties = plot.update_properties(fs) | ||
figure = all_properties[0] | ||
figure.show() | ||
|
||
|
||
if __name__ == "__main__": | ||
# Run the tests | ||
test_scatter_plot() |