amazon-sagemaker-examples
amazon-sagemaker-examples copied to clipboard
fix: use <%matplotlib inline> to display bar plots in studio notebooks
Issue #, if available:
https://tiny.amazon.com/1dhoktw8f/simamazissuRAI2
Description of changes:
use magic line function %matplotlib inline to show the pandas bar plots in studio notebooks.
Testing done:
Tested the https://github.com/aws/amazon-sagemaker-examples/blob/main/sagemaker_processing/fairness_and_explainability/ notebooks in us-east-1 and us-west-1 regions. plots are displayed correctly
Note: this PR doesn’t introduce any new spelling/grammar errors. so I am ignoring the codebuild failures
Merge Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.
- [x ] I have read the CONTRIBUTING doc and adhered to the example notebook best practices
- [x ] I have updated any necessary documentation, including READMEs
- [x ] I have tested my notebook(s) and ensured it runs end-to-end
- [ x] I have linted my notebook(s) and code using
black-nb -l 100 {path}/{notebook-name}.ipynb
output before using matplotlib inline
output after using matplotlib inline

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Check out this pull request on ![]()
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-link-check
- Commit ID: 753cf9c940ef1337bac007c5bcfeca196435b6c4
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-code-formatting
- Commit ID: 753cf9c940ef1337bac007c5bcfeca196435b6c4
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-grammar
- Commit ID: 753cf9c940ef1337bac007c5bcfeca196435b6c4
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: amazon-sagemaker-examples-pr
- Commit ID: 753cf9c940ef1337bac007c5bcfeca196435b6c4
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-code-formatting
- Commit ID: 3a3ba16c0a7a8d4df3d55dba19b8d38e5131f1d1
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-link-check
- Commit ID: 3a3ba16c0a7a8d4df3d55dba19b8d38e5131f1d1
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-grammar
- Commit ID: 3a3ba16c0a7a8d4df3d55dba19b8d38e5131f1d1
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: amazon-sagemaker-examples-pr
- Commit ID: 3a3ba16c0a7a8d4df3d55dba19b8d38e5131f1d1
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-code-formatting
- Commit ID: d7737063ea8a508aebcce2597097d5934a8753ba
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-link-check
- Commit ID: d7737063ea8a508aebcce2597097d5934a8753ba
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-grammar
- Commit ID: d7737063ea8a508aebcce2597097d5934a8753ba
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: amazon-sagemaker-examples-pr
- Commit ID: d7737063ea8a508aebcce2597097d5934a8753ba
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-code-formatting
- Commit ID: b1f136bea6d836d704049085445fe7648352e8ab
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-link-check
- Commit ID: b1f136bea6d836d704049085445fe7648352e8ab
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-grammar
- Commit ID: b1f136bea6d836d704049085445fe7648352e8ab
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: amazon-sagemaker-examples-pr
- Commit ID: b1f136bea6d836d704049085445fe7648352e8ab
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-link-check
- Commit ID: f616e049fffa6fecc7a73db28b1391c468ebed30
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-code-formatting
- Commit ID: f616e049fffa6fecc7a73db28b1391c468ebed30
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: sagemaker-examples-grammar
- Commit ID: f616e049fffa6fecc7a73db28b1391c468ebed30
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: amazon-sagemaker-examples-pr
- Commit ID: f616e049fffa6fecc7a73db28b1391c468ebed30
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: SageMakerNotebooksProd-USWEST2-sagemaker-examples-link-check
- Commit ID: bedf52866386c72e4f24a8feccde4475bc5b062b
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: SageMakerNotebooksProd-USWEST2-sagemaker-examples-code-formatting
- Commit ID: bedf52866386c72e4f24a8feccde4475bc5b062b
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: SageMakerNotebooksProd-USWEST2-sagemaker-examples-grammar
- Commit ID: bedf52866386c72e4f24a8feccde4475bc5b062b
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: SageMakerNotebooksProd-USWEST2-amazon-sagemaker-examples-pr
- Commit ID: bedf52866386c72e4f24a8feccde4475bc5b062b
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: SageMakerNotebooksProd-USWEST2-sagemaker-examples-link-check
- Commit ID: e6c657b0b5504ff0c1265dc8ad255c23d2c90970
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: SageMakerNotebooksProd-USWEST2-sagemaker-examples-code-formatting
- Commit ID: e6c657b0b5504ff0c1265dc8ad255c23d2c90970
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: SageMakerNotebooksProd-USWEST2-sagemaker-examples-grammar
- Commit ID: e6c657b0b5504ff0c1265dc8ad255c23d2c90970
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: SageMakerNotebooksProd-USWEST2-amazon-sagemaker-examples-pr
- Commit ID: e6c657b0b5504ff0c1265dc8ad255c23d2c90970
- Result: FAILED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
AWS CodeBuild CI Report
- CodeBuild project: SageMakerNotebooksProd-USWEST2-sagemaker-examples-link-check
- Commit ID: 4ee9f470c8d159abe5fff061adb8cab9fe4d9621
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository