Skip to content
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

Add save_plot to save graphs to file #1588

Merged
merged 39 commits into from Dec 24, 2020
Merged

Conversation

ParthivNaresh
Copy link
Contributor

@ParthivNaresh ParthivNaresh commented Dec 21, 2020

Pull Request Description

Fixes and updates #1535

Created a new PR rather than revert the revert I made.
Updated to default the graphviz format to png. Wasn't an issue in the local build because graphviz.backend.FORMATS was a high enough version to support all relevant formats, but in feedstock the version was lower.
Rather than trying to fix all this now, we can table that issue and just default image output for graphviz to png as it has always been supported.
Also contains an update to DOCKER_CONTAINERID to reflect changes made in feedstock to support kaleido

# Conflicts:
#	evalml/tests/dependency_update_check/latest_dependency_versions.txt
#	evalml/tests/utils_tests/test_gen_utils.py
#	evalml/utils/gen_utils.py
#	requirements.txt
@codecov
Copy link

codecov bot commented Dec 21, 2020

Codecov Report

Merging #1588 (c880d92) into main (5993352) will increase coverage by 0.1%.
The diff coverage is 100.0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             main    #1588     +/-   ##
=========================================
+ Coverage   100.0%   100.0%   +0.1%     
=========================================
  Files         240      240             
  Lines       17876    18056    +180     
=========================================
+ Hits        17862    18048    +186     
+ Misses         14        8      -6     
Impacted Files Coverage Δ
evalml/tests/utils_tests/test_gen_utils.py 100.0% <100.0%> (ø)
evalml/utils/gen_utils.py 100.0% <100.0%> (ø)
evalml/tests/conftest.py 100.0% <0.0%> (+2.0%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5993352...c880d92. Read the comment docs.

@ParthivNaresh ParthivNaresh self-assigned this Dec 21, 2020
@ParthivNaresh ParthivNaresh changed the title Update default graphviz format Add save_plot to save graphs to file Dec 21, 2020
@ParthivNaresh ParthivNaresh marked this pull request as ready for review December 21, 2020 19:33
Copy link
Contributor

@freddyaboulton freddyaboulton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ParthivNaresh Thanks for doing this! Since this change was approved previously, I just wanted to verify the build_conda_pkg ci check would pass with the version of the feedstock.

I think we're in good shape!

@@ -66,7 +66,7 @@ commands:
python .circleci/conda_config.py "$(python setup.py --version)"
cd evalml-core-feedstock
echo "$DOCKERHUB_PASSWORD" | docker login -u $DOCKERHUB_USERNAME --password-stdin
export DOCKER_CONTAINERID="$(docker run -td condaforge/linux-anvil-comp7)"
export DOCKER_CONTAINERID="$(docker run -td condaforge/linux-anvil-cos7-x86_64)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we need to change the docker image we use in our conda-check because python-kaleido requires a centOS docker image.

This reflects this change we had to make to our conda recipe.

I tested this change locally by checking out this branch and running our conda build steps manually. Tests pass and the build succeeds!

@ParthivNaresh ParthivNaresh merged commit 3d53d93 into main Dec 24, 2020
@dsherry dsherry mentioned this pull request Dec 29, 2020
@freddyaboulton freddyaboulton deleted the Update_Default_Graphviz_Format branch May 13, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants