Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 919 results for
matplotlib
- Page 1
Evaluating OpenAI GPT 4.1 for Text Summarization and Classification Tasks
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
… into our Python application. ```python import pandas as pd import
matplotlib
.pyplot as plt import seaborn as sns from itertools import…
matplotlib help
Programming
Software Development
14 Years Ago
by aryan.9001
[CODE] import
matplotlib
.pyplot as plt for c in range(-21,21): for …
matplotlib
Programming
Software Development
11 Years Ago
by Nafisa Morsalin
how to install
matplotlib
and use with python?
matplotlib - backend problem (trying to get interactive window for graphs)
Programming
Software Development
15 Years Ago
by emitan
… 8.5.8 and ipython-0.10. [CODE] import
matplotlib
matplotlib
.use('TkAgg') from pylab import * plot([1,2]) show… File "/usr/local/lib/python2.6/site-packages/
matplotlib
/pyplot.py", line 78, in <module&…File "/usr/local/lib/python2.6/site-packages/
matplotlib
/backends/__init__.py", line 25, in pylab_setup globals…
[matplotlib] How to set tight axis for log?
Programming
Software Development
15 Years Ago
by plaf
… as matlab import numpy import
matplotlib
matplotlib
.use('WXAgg') from
matplotlib
.pyplot import * from
matplotlib
.figure import Figure from
matplotlib
.backends.backend_wxagg import \ FigureCanvasWxAgg as…
[matplotlib] How to set tight axis for log? axis('tight') doesn't work well?)
Programming
Software Development
15 Years Ago
by plaf
… as matlab import numpy import
matplotlib
matplotlib
.use('WXAgg') from
matplotlib
.pyplot import * from
matplotlib
.figure import Figure from
matplotlib
.backends.backend_wxagg import \ FigureCanvasWxAgg as…
matplotlib/tkinter: mpl_connect key_press_event
Programming
Software Development
15 Years Ago
by cisac
… have 2 canvases, which will eventually contain plots made with
matplotlib
, packed side by side in a Tkinter window. Using mpl_connect… be much appreciated! [code=python] import
matplotlib
if
matplotlib
.get_backend() is not 'TkAgg':
matplotlib
.use('TkAgg') from
matplotlib
.backends.backend_tkagg import * from Tkinter import…
matplotlib colorbar hell
Programming
Software Development
11 Years Ago
by j.rf
… or two liner?? Please help. import
matplotlib
.colors as cols import
matplotlib
.cm as cm import
matplotlib
.pylab as plt norm=cols.Normalize…
matplotlib legend goes opaque when saved as eps
Programming
Software Development
15 Years Ago
by tehbrozor
Hello, I am creating a figure with
matplotlib
and want the legend background to be transparent, I did …this with: [code] lg =
matplotlib
.pyplot.legend(labels,markerscale=0) lg.legendPatch.set_alpha(0.0…
Re: matplotlib colorbar hell
Programming
Software Development
11 Years Ago
by j.rf
The following now works. cmap=plt.cm.get_cmap('RdYBlu') norm=
matplotlib
.colors.Normalize(clip=False,vmin-0.2,vmax=0.2) m=plt.cm.ScalarMappable(cmap=cmap,norm=norm) m.set_array(dmag) sc=plt.scatter(alph,delt,edgecolors='none',s=5,c=m.to_rgba(dmag),cmap=cmap, norm=norm) plt.colorbar(m)
Re: MatPlotLib - Making my graph wider
Programming
Software Development
13 Years Ago
by griswolf
Confused. Want wider, but not taller... but you are calling it the Y axis? Assuming you misspoke, will [URL="http://
matplotlib
.sourceforge.net/api/axes_api.html#
matplotlib
.axes.Axes.set_xlim"]this[/URL] do what you need? (There's a parallel method for the Y axis)
matplotlib color options
Programming
Software Development
14 Years Ago
by tmd200
Hi, I have a question about the color options in
matplotlib
. First, some calculations are done, which results in a nested …
MatPlotLib - Making my graph wider
Programming
Software Development
13 Years Ago
by [V]
Im using
Matplotlib
, and plotting a basic line graph. I have an very …
Re: MatPlotLib - Making my graph wider
Programming
Software Development
13 Years Ago
by griswolf
How about [URL="http://lmgtfy.com/?q=
matplotlib
+bigger+graph"]this[/URL], then? (You need to learn to use a web search engine). Check the top StackOverflow link
Matplotlib missing crictical command?
Programming
Software Development
13 Years Ago
by hughesadam_87
… to know what data is currently in the subplot. The
matplotlib
Axes and Axis classes are good at telling you the…
Re: Matplotlib missing crictical command?
Programming
Software Development
13 Years Ago
by hughesadam_87
Looks like it is infact not available. [url]http://www.mailinglistarchive.com/html/
matplotlib
-users@lists.sourceforge.net/2011-03/msg00210.html[/url]
Re: matplotlib help
Programming
Software Development
14 Years Ago
by rahul8590
well if ur newbie i would suggest that u use ipython rather than python . well in ipython u can directly enter as $ ipython -pylab // it has already all mathplot lib and numpy and scipy then ur code gets something like this [code] for c in range(-21,21): for i in range(0,20): print c,i plot([c],[i],'r.') show…
Re: matplotlib
Programming
Software Development
11 Years Ago
by TrustyTony
http://bit.ly/1eSByW4
Re: matplotlib
Programming
Software Development
11 Years Ago
by vegaseat
What is your operating system and which version of Python are you using?
Importing matplotlib using py2exe
Programming
Software Development
14 Years Ago
by meensatwork
…quot;, line 8, in <module> File "
matplotlib
\pyplot.pyc", line 95, in <module> File… "
matplotlib
\backends\__init__.pyc", line 25, in pylab_setup ImportError: No…setup scripts in [url]http://www.py2exe.org/index.cgi/
MatPlotLib
[/url] and all are giving the same error. Is…
1D heat map with Matplotlib
Programming
Software Development
13 Years Ago
by aint
…-3 win over Australia's Samantha Stosur.''' import pylab import
matplotlib
# Put text into list of sentences sentences = [] sentences = text.split… inDex = float(inDex) inDS=inDex/Lmax inDE=(inDex+lens)/Lmax
matplotlib
.pyplot.axhspan(it+xstart,it+0.2+xstart, xmin=inDS…
PyGtk/Matplotlib drawing issue, please help!
Programming
Software Development
15 Years Ago
by tehbrozor
… pygtk pygtk.require('2.0') import gtk import
matplotlib
matplotlib
.use('GtkAgg') from
matplotlib
.backends.backend_gtkagg import FigureCanvasGTKAgg as Canvas import pylab class….Window): def __init__(self): super(PyApp, self).__init__() self.fig =
matplotlib
.pyplot.figure() self.ax = self.fig.add_subplot(1,1,1…
Re: Importing matplotlib using py2exe
Programming
Software Development
14 Years Ago
by meensatwork
…,show #problem here?? from numpy import arange import
matplotlib
.mlab as mlab from
matplotlib
.dates import DateFormatter[/CODE] [CODE]#This is for… scatterplot2 from
matplotlib
.backends.backend_agg import FigureCanvasAgg as FigureCanvas from
matplotlib
.figure import Figure[/CODE] Problem is in…
Re: PyGtk/Matplotlib drawing issue, please help!
Programming
Software Development
15 Years Ago
by tehbrozor
…pygtk pygtk.require('2.0') import gtk import
matplotlib
matplotlib
.use('GtkAgg') from
matplotlib
.backends.backend_gtkagg import FigureCanvasGTKAgg as Canvas import pylab import…super(PyApp, self).__init__() self.set_position(gtk.WIN_POS_CENTER) self.fig =
matplotlib
.pyplot.figure() self.ax = self.fig.add_subplot(1,1,1…
Problem with matplotlib import
Hardware and Software
Microsoft Windows
15 Years Ago
by Hoban
… simply 2-D graph. I am having a problem getting
matplotlib
to work. I am using python 2.6 on a… Windows 64-Bit operating system (Windows 7). I have downloaded
matplotlib
v0.99 for windows 64 bit. When I go to… a windows error and restarts the shell. I have reinstalled
matplotlib
and numpy several times with the exact same result. The…
Help installing Matplotlib
Programming
Software Development
14 Years Ago
by noniterum03
…Python.framework/Versions/2.6/lib/python2.6/site-packages/
matplotlib
/pyplot.py", line 95, in <module&….framework/Versions/2.6/lib/python2.6/site-packages/
matplotlib
/backends/__init__.py", line 25, in pylab_setup …Python.framework/Versions/2.6/lib/python2.6/site-packages/
matplotlib
/backends/backend_tkagg.py", line 8, in <…
Re: 1D heat map with Matplotlib
Programming
Software Development
13 Years Ago
by hughesadam_87
Hmm I don't know much about heatmaps in
matplotlib
, but to make 1d, you may need to just make a 2d heatmap which has a very narrow height dimension. [url]http://stackoverflow.com/questions/2369492/generate-a-heatmap-in-
matplotlib
-using-a-scatter-data-set[/url]
Re: Importing matplotlib using py2exe
Programming
Software Development
14 Years Ago
by GDICommander
Can you post the code that leads to this error? It looks like an import directive hasn't been written correctly. Or, have you modified
matplotlib
modules to make the importing directive fail?
simple MatPlotLib plt.show() problem
Programming
Software Development
15 Years Ago
by clibbon
… plt.show() File "D:\Python254\Lib\site-packages\
matplotlib
\backends\backend_tkagg.py", line 79, in show Tk.…occurs when I run [CODE]import networkx as nx import
matplotlib
.pyplot as plt G = nx.Graph() G.add_node(1…am using python 2.5.4 with NumPy, DimPy,
Matplotlib
and NetworkX. Let me know if any other information would…
Combining python matplotlib and wxpython
Programming
Software Development
15 Years Ago
by hdk
… csv import numpy as np import
matplotlib
.pyplot as plt import
matplotlib
.mlab as mlab import
matplotlib
.ticker as ticker class MainWindow(wx…
1
2
3
16
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC