代码搜索:Python
找到约 10,000 项符合「Python」的源代码
代码结果 10,000
www.eeworm.com/read/160583/10517068
py agg_oo.py
#!/usr/bin/env python
"""
A pure OO (look Ma, no pylab!) example using the agg backend
"""
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
from matplotlib.figure import Fig
www.eeworm.com/read/160583/10517111
py wxcursor_demo.py
#!/usr/bin/env python
"""
Show how to have wx draw a cursor over an axes that moves with the
mouse and reports the data coords
"""
from matplotlib.numerix import arange, sin, pi
import matplotlib
ma
www.eeworm.com/read/160583/10517116
py alignment_test.py
#!/usr/bin/env python
"""
You can precisely layout text in data or axes (0,1) coordinates. This
example shows you some of the alignment and rotation specifications to
layout text
"""
from pylab impo
www.eeworm.com/read/160583/10517196
py ganged_plots.py
#!/usr/bin/env python
"""
To create plots that share a common axes (visually) you can set the
hspace bewtween the subplots close to zero (do not use zero itself).
Normally you'll want to turn off the
www.eeworm.com/read/160583/10517215
py image_demo_na.py
#!/usr/bin/env python
from matplotlib import rcParams
rcParams['numerix'] = 'numarray'
from pylab import *
def bivariate_normal(X, Y, sigmax=1.0, sigmay=1.0,
mux=0.0, muy=0.0,
www.eeworm.com/read/160583/10517234
py coords_demo.py
#!/usr/bin/env python
"""
An example of how to interact with the plotting canvas by connecting
to move and click events
"""
import sys
from pylab import *
t = arange(0.0, 1.0, 0.01)
s = sin(2*pi*t)
a
www.eeworm.com/read/160583/10517300
py embedding_in_gtk3.py
#!/usr/bin/env python
"""
demonstrate adding a FigureCanvasGTK/GTKAgg widget to a gtk.ScrolledWindow
"""
import gtk
from matplotlib.axes import Subplot
from matplotlib.figure import Figure
from matp
www.eeworm.com/read/417061/11004929
py grid.py
#!/usr/bin/env python
import os, sys, traceback
import Queue
import getpass
from threading import Thread
from string import find, split, join
from subprocess import *
# svmtrain and gnuplot executab
www.eeworm.com/read/466701/7031526
py bbn_80211b_tx.py
#!/usr/bin/env python
#
# Copyright 2005 Free Software Foundation, Inc.
#
# Copyright (c) 2006 BBN Technologies Corp. All rights reserved.
# Effort sponsored in part by the Defense Advanced Research
www.eeworm.com/read/364251/7075977
py reader2.py
#!/usr/bin/python -u
#
# this tests the DTD validation with the XmlTextReader interface
#
import sys
import glob
import string
import StringIO
import libxml2
# Memory debug specific
libxml2.debugMemo