Description
Issue: Currently we are trying to build an extension for serving visualizations through a Juptyer lab extension. To do this we want to include visualization information in the catalogs. Initially, we created a base visualization data source similar to the existing one for projects and experiments. Now we need to create a concrete implementation for Dataframe Plots.
Solution: For this issue, we added a new DataframePlotDataSource that is going to extend VizDataSourceMixin. We will read in the catalog data and metadata from the passed arguments . Then _get_schema creates a Dataframe Plot visualization and sets it as the visualization object attribute.
Changes
Updated viz.py within the intake_rubicon folder. This file holds the code for the new DataframePlotDataSource.
Updated the __init__ function within the intake_rubicon folder to now be able to include DataframePlotDataSource for module importing purposes.
Updated rubicon_ml/viz/publish.py to take in a DataframePlot as a visualization object
Updated the setup.cfg file to include the DataframePlotDataSource as an Intake driver.
Updated test_viz.py to include a DataframePlotDataSource test method as well.
closes: #60
Description Issue: Currently we are trying to build an extension for serving visualizations through a Juptyer lab extension. To do this we want to include visualization information in the catalogs. Initially, we created a base visualization data source similar to the existing one for projects and experiments. Now we need to create a concrete implementation for Dataframe Plots.
Solution: For this issue, we added a new
DataframePlotDataSource
that is going to extendVizDataSourceMixin
. We will read in the catalog data and metadata from the passed arguments . Then _get_schema creates a Dataframe Plot visualization and sets it as the visualization object attribute.Changes
viz.py
within the intake_rubicon folder. This file holds the code for the newDataframePlotDataSource
.__init__
function within the intake_rubicon folder to now be able to includeDataframePlotDataSource
for module importing purposes.DataframePlot
as a visualization objectsetup.cfg
file to include theDataframePlotDataSource
as an Intake driver.test_viz.py
to include aDataframePlotDataSource
test method as well.