Reference¶
datalab-app-plugin-example
Attributes:
Name | Type | Description |
---|---|---|
__version__ |
|
ExampleDataBlock
¶
Bases: DataBlock
Attributes:
Name | Type | Description |
---|---|---|
accepted_file_extensions |
|
|
blocktype |
str
|
|
description |
str
|
|
name |
str
|
|
plot_functions |
|
|
version |
|
description
¶
description: str = 'An example block from the plugin template. All of this information should be rewritten by plugin authors.'
plot_fake_scatter
¶
Creates a fake scatter plot and stores it in the database, using any provided filename or attached data as the plot title.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
filename
|
str | Path | None
|
The name of the file to use as the plot title.
If None, it will attempt to retrieve the file information from the database
using the |
None
|