Skip to content

Commit 4ed1a66

Browse files
committed
Fix name of the package
1 parent 12124c9 commit 4ed1a66

File tree

15 files changed

+27
-27
lines changed

15 files changed

+27
-27
lines changed

chart_data_extractor/e2b_charts/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from matplotlib.text import Text
1010
from pydantic import Field
1111

12-
from e2b_data_extraction.graphs import (
12+
from .graphs import (
1313
GraphType,
1414
Graph,
1515
LineGraph,
@@ -18,7 +18,7 @@
1818
PieGraph,
1919
ScatterGraph,
2020
)
21-
from e2b_data_extraction.utils.filtering import is_grid_line
21+
from .utils.filtering import is_grid_line
2222

2323

2424
class SuperGraph(Graph):

chart_data_extractor/e2b_charts/utils/rounding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def dynamic_round(number):
66
decimal_number = Decimal(str(number))
77

88
# Dynamically determine precision based on magnitude
9-
precision = max(1, 16 - decimal_number.adjusted()) # 16 digits of precision
9+
precision = max(1, 8 - decimal_number.adjusted()) # 8 digits of precision
1010

1111
with localcontext() as ctx:
1212
ctx.prec = precision # Set the dynamic precision

chart_data_extractor/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.poetry]
2-
name = "e2b-code-interpreter-data-extraction"
2+
name = "e2b-charts"
33
version = "0.0.0"
44
description = "Package for extracting data for E2B Code Interpreter"
55
authors = ["e2b <[email protected]>"]

chart_data_extractor/tests/graphs/test_bar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import matplotlib.pyplot as plt
22

3-
from e2b_data_extraction import graph_figure_to_graph
4-
from e2b_data_extraction.graphs import BarGraph, GraphType
3+
from e2b_charts import graph_figure_to_graph
4+
from e2b_charts.graphs import BarGraph, GraphType
55

66

77
def _prep_graph_figure():

chart_data_extractor/tests/graphs/test_box_and_whiskers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import matplotlib.pyplot as plt
22

3-
from e2b_data_extraction import graph_figure_to_graph
4-
from e2b_data_extraction.graphs import BoxAndWhiskerGraph, GraphType
3+
from e2b_charts import graph_figure_to_graph
4+
from e2b_charts.graphs import BoxAndWhiskerGraph, GraphType
55

66

77
def _prep_graph_figure():

chart_data_extractor/tests/graphs/test_categorical_scale.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import matplotlib.pyplot as plt
33
import datetime
44

5-
from e2b_data_extraction import graph_figure_to_graph
6-
from e2b_data_extraction.graphs import LineGraph
5+
from e2b_charts import graph_figure_to_graph
6+
from e2b_charts.graphs import LineGraph
77

88

99
def _prep_graph_figure():

chart_data_extractor/tests/graphs/test_datetime_scale.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import matplotlib.pyplot as plt
33
import datetime
44

5-
from e2b_data_extraction import graph_figure_to_graph
6-
from e2b_data_extraction.graphs import LineGraph
5+
from e2b_charts import graph_figure_to_graph
6+
from e2b_charts.graphs import LineGraph
77

88

99
def _prep_graph_figure():

chart_data_extractor/tests/graphs/test_line.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import matplotlib.pyplot as plt
33
import datetime
44

5-
from e2b_data_extraction import graph_figure_to_graph
6-
from e2b_data_extraction.graphs import LineGraph
5+
from e2b_charts import graph_figure_to_graph
6+
from e2b_charts.graphs import LineGraph
77

88

99
def _prep_graph_figure():

chart_data_extractor/tests/graphs/test_log_graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import numpy as np
22
import matplotlib.pyplot as plt
33

4-
from e2b_data_extraction import graph_figure_to_graph
5-
from e2b_data_extraction.graphs import LineGraph
4+
from e2b_charts import graph_figure_to_graph
5+
from e2b_charts.graphs import LineGraph
66

77

88
def _prep_graph_figure():

chart_data_extractor/tests/graphs/test_pie.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import matplotlib.pyplot as plt
22

3-
from e2b_data_extraction import graph_figure_to_graph
4-
from e2b_data_extraction.graphs import PieGraph
3+
from e2b_charts import graph_figure_to_graph
4+
from e2b_charts.graphs import PieGraph
55

66

77
def _prep_graph_figure():

0 commit comments

Comments
 (0)