Spaces:
Sleeping
Sleeping
Sharan Thakur
commited on
Commit
·
facb61e
1
Parent(s):
a235b81
reduces threshold
Browse files
src/emission_calculator/calculator.py
CHANGED
|
@@ -5,7 +5,7 @@ from plotly.graph_objects import Figure, Pie, Bar, Scatter, Scatterpolar
|
|
| 5 |
|
| 6 |
|
| 7 |
def draw_report_figure(
|
| 8 |
-
df: DataFrame, threshold: tuple[float] = [
|
| 9 |
) -> Figure:
|
| 10 |
figure_specs = [
|
| 11 |
[{"type": "xy"}, {"type": "domain"}],
|
|
|
|
| 5 |
|
| 6 |
|
| 7 |
def draw_report_figure(
|
| 8 |
+
df: DataFrame, threshold: tuple[float] = [15_000, 5_000, 15_000]
|
| 9 |
) -> Figure:
|
| 10 |
figure_specs = [
|
| 11 |
[{"type": "xy"}, {"type": "domain"}],
|