• Create
    • Ask a question
    • Create an article
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Home /
avatar image
0

Matplotlib Display Recursion Error

pythondatabricksmatplotlibrecursion
Question by tyler.gasperlin@mossadams.com · Nov 27 at 04:07 AM ·

I am new to Databricks and am taking a course on python machine learning. Why do I get the following recursion error when trying to display a matplotlib chart in Databricks but not in my normal jupyter notebook environment?

screen-shot-2019-11-26-at-95821-pm.png (188.9 kB)
Add comment
Comment
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Answer

Sort

  • Votes
  • Created
  • Oldest
avatar image
0

Answer by mikedias · Dec 03 at 12:32 AM

I've found a workaround for this. Just assign the plot to a fig variable and call display without arguments:


screen-shot-2019-12-03-at-113450-am.png (134.4 kB)
Comment
Add comment · Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tyler.gasperlin@mossadams.com · 5 days ago 0
Share

Awesome that worked well - thanks for your response!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

26 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can I connect to Couchbase using Python? 0 Answers

Buttons using Widgets 0 Answers

Cannot Convert Column to Bool Error - When Converting dataframe column which is in string to date type in python 3 Answers

Local Python API cannot access DBFS File Store 1 Answer

com.databricks.backend.common.rpc.DatabricksExceptions$SQLExecutionException: org.apache.spark.sql.AnalysisException: LOAD DATA input path does not exist: dbfs:/mnt/ 0 Answers

  • Product
    • Databricks Cloud
    • FAQ
  • Spark
    • About Spark
    • Developer Resources
    • Community + Events
  • Services
    • Certification
    • Spark Support
    • Spark Training
  • Company
    • About Us
    • Team
    • News
    • Contact
  • Careers
  • Blog

Databricks Inc.
160 Spear Street, 13th Floor
San Francisco, CA 94105

info@databricks.com
1-866-330-0121

  • Twitter
  • LinkedIn
  • Facebook
  • Facebook

© Databricks 2015. All rights reserved. Apache Spark and the Apache Spark Logo are trademarks of the Apache Software Foundation.

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges