Added SNS plot nodes that take PyTorch tensors.

This commit is contained in:
HowToSD
2025-03-18 17:46:05 -07:00
parent a8aaa21ce0
commit 9f0304b2ee
18 changed files with 709 additions and 9 deletions
+4
View File
@@ -170,12 +170,16 @@
| [MPL Pie Chart](mpl_pie_chart.md) | Generates a pie chart from a pandas DataFrame. |
| [MPL Scatter Plot](mpl_scatter.md) | Generates a scatter plot from a pandas DataFrame. |
| [SNS Bar Chart](sns_bar.md) | Generates a bar chart from a Pandas DataFrame using Seaborn. |
| [SNS Bar Chart Pt](sns_bar_pt.md) | Generates a bar chart from a PyTorch tensor using Seaborn. |
| [SNS Boxplot](sns_boxplot.md) | Generates a boxplot from a Pandas DataFrame using Seaborn. |
| [SNS Heatmap](sns_heatmap.md) | Generates a heatmap from a Pandas DataFrame using Seaborn. |
| [SNS Histogram](sns_histogram.md) | Generates a histogram from a Pandas DataFrame using Seaborn. |
| [SNS Histogram Chart Pt](sns_histogram_pt.md) | Generates a histogram from a PyTorch tensor using Seaborn. |
| [SNS Line Plot](sns_line.md) | Generates a line plot from a pandas DataFrame using Seaborn. |
| [SNS Line Plot Pt](sns_line_pt.md) | Generates a line plot from a PyTorch tensor using Seaborn. |
| [SNS Pairplot](sns_pairplot.md) | Generates a pairplot from a Pandas DataFrame using Seaborn. |
| [SNS Scatter Plot](sns_scatter.md) | Generates a scatter plot from a pandas DataFrame using Seaborn. |
| [SNS Scatter Plot Pt](sns_scatter_pt.md) | Generates a scatter plot from a PyTorch tensor using Seaborn. |
## Python wrapper
| Node | Description |
| --- | --- |
+2 -2
View File
@@ -14,8 +14,8 @@ If output_1d_label is set, label will be output as a 1d array instead of a 2d ar
## Output
| Data type |
|---|
| Ndarray |
| Ndarray |
| Tensor |
| Tensor |
<HR>
Category: Transformation
+12
View File
@@ -0,0 +1,12 @@
# SNS Bar Chart Pt
Generates a bar chart from a PyTorch tensor using Seaborn.
## Output
| Data type |
|---|
| Image |
<HR>
Category: Plot
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.
+12
View File
@@ -0,0 +1,12 @@
# SNS Histogram Chart Pt
Generates a histogram from a PyTorch tensor using Seaborn.
## Output
| Data type |
|---|
| Image |
<HR>
Category: Plot
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.
+16
View File
@@ -0,0 +1,16 @@
# SNS Line Plot Pt
Generates a line plot from a PyTorch tensor using Seaborn.
For plotting multiple lines, enter a comma-separated column labels in y_axis_dims.
If you want to display a legend for each line, enter a comma-separated legend label
in legend label.
## Output
| Data type |
|---|
| Image |
<HR>
Category: Plot
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.
+16
View File
@@ -0,0 +1,16 @@
# SNS Scatter Plot Pt
Generates a scatter plot from a PyTorch tensor using Seaborn.
For plotting multiple scatters, enter a comma-separated column labels in y_axis_dims.
If you want to display a legend for each scatter, enter a comma-separated legend label
in legend label.
## Output
| Data type |
|---|
| Image |
<HR>
Category: Plot
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.