Coder Social home page Coder Social logo

adtk.visualization.plot can't work about adtk HOT 6 OPEN

arundo avatar arundo commented on August 21, 2024
adtk.visualization.plot can't work

from adtk.

Comments (6)

sbriseid avatar sbriseid commented on August 21, 2024 3

I experienced the same issue, running from the terminal. I resolved it by adding a call to pyplot show after my adtk plots.
...
import matplotlib.pyplot as plt
...
plt.show()
...
I am new to adtk, not sure if this was an intended change. But I actually prefer to be able to decide when to show my plots :)

from adtk.

MorpheusPoi avatar MorpheusPoi commented on August 21, 2024 1

@sbriseid your method works.
@tailaiw, @sbriseid, thanks very much for your help.

from adtk.

tailaiw avatar tailaiw commented on August 21, 2024

Are your running this in jupyter notebook? If so, you may need %matplotlib inline.

from adtk.

MorpheusPoi avatar MorpheusPoi commented on August 21, 2024

Are your running this in jupyter notebook? If so, you may need %matplotlib inline.

Thanks for your help. I tried VS code and PyCharm and both failed to present a chart. Also I tried in other computer but still can't get a chart. Also I tried to use matplotlib to plot a chart and it can generate a chart as expect.

from adtk.

tailaiw avatar tailaiw commented on August 21, 2024

@sbriseid That's exactly the design :) The plot function returns matplotlib figure and axes objects and users may decide when and how to show plots by themselves (e.g. plt.show() or %matplotlib inline in notebook)

from adtk.

JohnRothan avatar JohnRothan commented on August 21, 2024

today i meet the same problem,and @sbriseid help me resolve it quickly,thanks

from adtk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.