Skip to content

Commit a51a97f

Browse files
authored
Merge pull request #19 from dalager/bugfix-import
Fix broken import when packaged
2 parents a9687fb + dd04b32 commit a51a97f

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

docs/Packaging_notes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pip install -i https://test.pypi.org/simple/ graphedexcel
2222
## installation from local dist
2323

2424
```bash
25-
pip install 'C:\projects\dalager\1 Projects\graphedexcel\dist\graphedexcel-0.0.7-py3-none-any.whl' --force-reinstall
25+
pip install 'C:\projects\dalager\1 Projects\graphedexcel\dist\graphedexcel-0.0.0-py3-none-any.whl' --force-reinstall
2626

2727
```
2828

src/graphedexcel/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from .graphbuilder import build_graph_and_stats
66
from .graph_summarizer import print_summary
77
from .graph_visualizer import visualize_dependency_graph
8-
import src.graphedexcel.logger_config # noqa
8+
from graphedexcel import logger_config # noqa: F401
99

1010
logger = logging.getLogger("graphedexcel.main")
1111

src/graphedexcel/graph_visualizer.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,5 @@ def visualize_dependency_graph(
197197

198198
plt.legend(handles=legend_patches, title="Sheets", loc="upper left")
199199

200-
plt.savefig(output_path, bbox_inches="tight") # Ensure layout fits
200+
plt.savefig(output_path, bbox_inches="tight")
201201
plt.close() # Close the figure to free memory
202-
203-
logger.info(f"Graph visualization saved to {output_path}")

0 commit comments

Comments
 (0)