Spaces:
Sleeping
Sleeping
Update graph_tool.py
Browse files- graph_tool.py +1 -1
graph_tool.py
CHANGED
|
@@ -4,7 +4,7 @@ import matplotlib.pyplot as plt
|
|
| 4 |
import numpy as np
|
| 5 |
import json
|
| 6 |
|
| 7 |
-
def
|
| 8 |
"""
|
| 9 |
Generates a plot (bar, line, or pie) and returns it as an HTML-formatted Base64-encoded image string.
|
| 10 |
|
|
|
|
| 4 |
import numpy as np
|
| 5 |
import json
|
| 6 |
|
| 7 |
+
def generate_plot(plot_config_json):
|
| 8 |
"""
|
| 9 |
Generates a plot (bar, line, or pie) and returns it as an HTML-formatted Base64-encoded image string.
|
| 10 |
|