-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
95 openpyxl selenium imports #96
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything works for me! I trialled an excel example and saved a few altair plots.
@@ -70,26 +74,32 @@ def _save_png( | |||
) | |||
|
|||
|
|||
def _save_html(fig: Chart, path: os.PathLike, name: str, scale_factor: int): | |||
def _save_html( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny tiny aesthetic comment so please feel free to ignore, but I noticed you separated out parameters into different lines for _save_svg and _save_png but haven't here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pre-commit linting checks made these changes to separate lines if the line exceeds a (PEP8?) character count (should be ~80?)
…ting enabled features
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worked perfectly in the example I have been testing it on. I have one comment around where the try excepts could be. But it isn't necessary for functionality, so happy for you to merge!
@@ -0,0 +1,9 @@ | |||
from nesta_ds_utils.loading_saving.gis_interface import _gis_enabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to move the gis_interface try except into here as well? Instead of importing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd keep less logic in init.py , the imports are needed for defining the functions in gis_interface anyways. So I'd tend towards importing by traversing up the directory tree to the top level features_enabled dict
Update some more dependencies
This PR closes the issues: #95
This PR also partially addresses: #89
Description
openpyxl
backendpath
parameters in function signatures inviz.altair.saving.py
__init__.py
to package modulesChecklist:
>> pytest