-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* along with test coverage for all snippets (using different data though)
- Loading branch information
Showing
9 changed files
with
218 additions
and
2 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
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
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
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
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
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
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,10 @@ | ||
def test_docs_snippets(helper, light_curve_like_kepler_quarter): | ||
lcviz, lc = helper, light_curve_like_kepler_quarter | ||
|
||
lcviz.load_data(lc) | ||
# lcviz.show() | ||
|
||
metadata = lcviz.plugins['Metadata Viewer'] | ||
print(f"dataset choices: {metadata.dataset.choices}") | ||
metadata.dataset = metadata.dataset.choices[0] | ||
print(metadata.metadata) |
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,14 @@ | ||
def test_docs_snippets(helper, light_curve_like_kepler_quarter): | ||
lcviz, lc = helper, light_curve_like_kepler_quarter | ||
|
||
lcviz.load_data(lc) | ||
# lcviz.show() | ||
|
||
po = lcviz.plugins['Plot Options'] | ||
print(f"viewer choices: {po.viewer.choices}") | ||
po.viewer = po.viewer.choices[0] | ||
print(f"layer choices: {po.layer.choices}") | ||
po.layer = po.layer.choices[0] | ||
|
||
po.marker_size = 4 | ||
po.marker_color = 'blue' |
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