Code Monkey home page Code Monkey logo

Comments (3)

haraldschilly avatar haraldschilly commented on August 11, 2024

I can confirm this, no idea how that did break. I'm certain that this did work some time ago and another test code is this:

import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.gca(projection = '3d')

from cloud.

williamstein avatar williamstein commented on August 11, 2024

This will (I think) be fixed when I upgrade SMC to sage-6.7, which I intend
to do as soon as it is released (so very likely tomorrow):

salvus@compute2-us:/projects/sage/sage-6.7.beta5$ ./sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath Version 6.7.rc0, Release Date: 2015-05-14 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

sage:
sage: import matplotlib.pyplot as plt
sage: from mpl_toolkits.mplot3d import Axes3D
sage: fig = plt.figure()
sage: ax = fig.add_subplot(111, projection='3d')
sage: fig.savefig('test.png')
sage: import matplotlib.pyplot as plt
sage: fig = plt.figure()
sage: ax = fig.gca(projection = '3d')

On Sun, May 17, 2015 at 2:25 AM, Harald Schilly [email protected]
wrote:

I can confirm this, no idea how that did break. I'm certain that this did
work some time ago and another test code is this:

import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.gca(projection = '3d')


Reply to this email directly or view it on GitHub
#196 (comment).

William (http://wstein.org)

from cloud.

haraldschilly avatar haraldschilly commented on August 11, 2024

this works again (a direct fix to the matplotlib library was necessary)

from cloud.

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.