SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Rachana K. <kat...@gm...> - 2014年05月23日 05:22:00
Hi,
 I am facing little trouble in understanding the pyplot concept.
The following link describes my problem, please have a look at it:
http://stackoverflow.com/q/23804957/3218127
Regards,
Rachana K
From: Eric F. <ef...@ha...> - 2014年05月23日 07:07:49
On 2014年05月22日 7:21 PM, Rachana Katkam wrote:
> Hi,
> I am facing little trouble in understanding the pyplot concept.
Pyplot is designed mainly for interactive work, and for situations where 
no explicit calls to a gui library are needed. When you do need to work 
directly with a gui library, don't use pyplot; let your explicit gui 
calls control the windows and the mainloop, and use the matplotlib 
object-oriented interface for the actual plotting--in a window supplied 
by the gui.
In the matplotlib/examples directory, check out 
user_interfaces/embedding_in_gtk2.py for an example of using mpl in a 
gui app; note that it does not import pyplot. It's a very minimal 
example, but it does show how one can put a plot in a figure, which is 
in a canvas, which is in a window. Everything beyond the figure level 
is via the gtk gui directly.
Eric
>
> The following link describes my problem, please have a look at it:
> http://stackoverflow.com/q/23804957/3218127
>
> Regards,
> Rachana K
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /