2015-12-12 13:37:20 +0100 | received badge | ● Famous Question (source) |
2013-05-22 15:55:21 +0100 | received badge | ● Notable Question (source) |
2012-10-07 04:13:00 +0100 | received badge | ● Popular Question (source) |
2011-12-05 08:03:08 +0100 | received badge | ● Nice Question (source) |
2011-12-01 16:17:39 +0100 | marked best answer | Is there a simple way to plot an image in a notebook? I.e. the output of the imshow function in matplotlib... I've modified the examples you're alluding to in the Sage plotting reference, under "NUMERICAL PLOTTING" (caps in original). This works. Because I don't know much about how matplotlib works, unfortunately when I do another figure it just adds to this one (or if I do another one first, this adds to it). Hopefully someone else - or you - can answer that for me! |
2011-12-01 16:17:39 +0100 | received badge | ● Scholar (source) |
2011-12-01 16:17:35 +0100 | received badge | ● Supporter (source) |
2011-12-01 16:13:41 +0100 | received badge | ● Student (source) |
2011-12-01 15:36:21 +0100 | asked a question | Is there a simple way to plot an image in a notebook? I.e. the output of the imshow function in matplotlib... I have been wondering how to do something seemingly really simple, but seem to be missing something - sage allows users to do all kinds of fancy plotting in the notebook but I can't get it to display a 2d matrix as an image (matplotlib's imshow function). I see that it is possible to call imshow and save the result to file, but I want to display the result in the notebook instead - did I miss something? Cheers |