Initial code commit

This commit is contained in:
HowToSD
2025-02-12 22:53:33 -08:00
parent 6a12658d73
commit 21437069c0
19 changed files with 858 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
def common_input_types():
"""
Defines the input types for a plot function.
Returns:
Dict[str, Any]: A dictionary specifying required input types.
"""
return {
"required": {
"dataframe_json": ("STRING", {"multiscatter": True}),
"x_column_name": ("STRING", {"default": ""}),
"y_column_name": ("STRING", {"default": ""}),
"title": ("STRING", {"default": ""}),
"x_axis_label": ("STRING", {"default": ""}),
"y_axis_label": ("STRING", {"default": ""}),
"x_tick_as_int": ("BOOLEAN", {"default": False}) # To show 2002 instead of 2002.5 on x-axis
}
}