Questions tagged [matplotlib]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Python, Eclipse or Windows 10 won't recognize matplotlib

I'm using Eclipse on Windows 10. I would like to make a function plotter so I started a program as import tkinter from matplotlib.backends.backend_tkagg import ( FigureCanvasTkAgg, ...
0
votes
0answers
291 views

python matplotlib module on IDLE misses writing permission to temp folder

I just got a new computer at work and the username is determined by our IT department to be our full name. My full name is rather....long so windows shortens it with "AKI~1" (I replaced my ...
0
votes
0answers
65 views

tkinter canvas repeats creating new frame

in my Tkinter GUI widget, the submit button commands to draw a plot on a designated frame (plotframe). Initially, the canvas code, and the navigation toolbar work. However, every time I press the ...
1
vote
1answer
2k views

Installing Matplotlib on Windows 10 machines

I am trying to install Matplotlib on my Windows 10 64-bit computer using Python's pip installer. Any advice would be appreciated. When I try I get the following extensive error return that I do not ...
4
votes
2answers
5k views

Can't install anything on pip

Everytime I try to install anything on pip it ends with following error message. The package setup script has attempted to modify files on your system that are not within the EasyInstall build area, ...
1
vote
0answers
55 views

Installing Basemap for python

Trying to install basemap via this website Basemap Matplotlib Toolkit I have followed everything they say until this part of the installation: if libgeos_c is in /usr/local/lib and geos_c.h is in /...
0
votes
1answer
66 views

it receive the following error when use matplotlib

MathTextWarning: Font 'default' does not have a glyph for '-' [U+2212], substituting with a dummy symbol. MathTextWarning)
4
votes
1answer
6k views

_tkinter.TclError: couldn't connect to display “localhost:0.0” matplotlib bash on windows

Insipired by the problems with displaying matplotlib used in a Python script using the terminal of the Bash (Ubuntu) on Windows, I have followed the instructions listed in the first answer. However, ...
0
votes
1answer
562 views

Matplotlib - Basemap Installation Error

Installed basemap via pip pip3 install --user git+https://github.com/matplotlib/basemap.git from mpl_tooklits.basemap import Basemap I get the error module 'pyproj' has no attribute 'pyproj_datadir'...
0
votes
2answers
2k views

What's the cause of this strange crash behavior related to Python, Anaconda, Matplotlib, MKL, & Jupyter?

We're pretty stumped on this crash issue as we don't get any tracebacks or other messages about what's actually wrong so it's been tough to debug. Anyhow, here goes. We have a workstation for ...
0
votes
2answers
4k views

Jupyter Kernel Dies when Attempting a Simple Plot (Python)

My Jupyter Notebook cannot even draw a simple plot anymore. Until yesterday, it could plot all kinds of plots of matplotlib and seaborn. It is not a memory error because there are 1.6 GB available. ...
14
votes
6answers
17k views

Error when updating conda packages: RemoveError: 'setuptools' is a dependency of conda

I needed to update the matplotlib when I encountered the following error: conda update matplotlib Collecting package metadata: done Solving environment: done ## Package Plan ## environment ...
0
votes
2answers
1k views

Pip not included in Python3.6 on CentOS 7?

When running which python3.6, I get /usr/bin/python3.6. But when I try python3.6 -mpip install matplotlib, it says /usr/bin/python3.6: No module named pip. I was informed that pip SHOULD be ...
1
vote
1answer
223 views

How to remove the bland space to the left of ylabel in Matlab figure when using long string for ylabel?

I'm doing some plots in Matlab 2014b, in one them I'm plotting 5 variables versus time over there and want to specify 5 names like, speed (rad/sec), voltage (V), ... etc. on the y-label, however, as ...
3
votes
1answer
12k views

3D plot with matplotlib from imported data

I am looking to plot a 3D surface. The data is generated in mathematica and exported in a file with three columns separated by spaces (I can switch it to comma or other delimiter). The problem I have ...
1
vote
0answers
859 views

Install customplot on python 3.5

Faced the below error when I import customplot on pycharm (python 3.5) Tried import sipdistutils as well on command prompt but no distribution is found. Collecting qcustomplot Using cached https://...
1
vote
0answers
106 views

iterm itermplot tmux scroll makes plots disappear

I have a tmux session in my iTerm2 window with a single pane. When I plot something using ipython (with itermplot) it appears as expected. As soon as I switch to scrolling mode ( [ ), the plot ...
2
votes
2answers
50 views

Plot/graph/chart generalized language, schema or API [closed]

I swear at some point I ran across a project to come up with a generalized schema to describe (plots|graphs|charts). But I can't seem to dig it up in google now. The idea was that every plotting ...
1
vote
1answer
235 views

View extra large PDF files on Linux

I have a 18000x18000px PDF file I generate via matplotlib. Before printing I would like to preview it, at least at 20% zoom. Sadly nothing I have tried so far works: evince will only open it at a ...
1
vote
0answers
42 views

Plot abscissa points

I have been instructed to plot abscissa points. This is new to me, even the concept is alien to me. I have a set of data, where S is the x-axis and res the y-axis. The goal is to plot a figure where ...
4
votes
3answers
13k views

Best way to insert high quality figures in MS Word

I need a way to insert hight quality PDF figures into Word without them distorting. The figures are mostly scientific graphs generated through Python and Matplotlib. The main problem is the text ...
0
votes
3answers
339 views

Attempting to make a multi-column graph

I am trying to make a column graph where the y-axis is the mean grain size, the x-axis is the distance along the transect, and each series is a date and/or number value (doesn't really matter). Here ...
0
votes
2answers
4k views

Can't import matplotlib on Anaconda (Python), on my Mac, even though it's installed on the terminal and set as a default

So basically on my Ipython I can't get it working even though it's installed, and the terminal shows that it should be working. Syntax and Error In [1]: import matplotlib.pyplot as plt -------------...
2
votes
2answers
3k views

how to: bspwm bspc rule for floating matplotlib figures

I have recently started using bspwm and I have been blown away by the improvement in my workflow. There is however one thing that has been bothering me: I am writing data analysis scripts in python ...
0
votes
1answer
738 views

install matplotlib with pip when pygtk is in non standard location

I have installed PyGTK 2.24.0 in /software/pygtk-2.24.0/gcc directory. Is there any way without rewrite the setup program how to install matplotlib with pip? Simple pip install matplotlib builds ...
5
votes
1answer
3k views

What's the quickest way to parse and display a `.csv` file?

I am currently using python with matplotlib to display a 440+ k lines .csv but it takes 11 sec to display only one column. My .csv has always the same format. Is there a way to parse it quicker ? I ...
4
votes
2answers
6k views

Cannot install matplotlib in cygwin (freetype issue)

It would be really nice to have matplotlib in my cygwin environment. I have 64-bit Windows 8 with 64-bit cygwin. When I type: pip install matplotlib I get whe following error message: * The ...
0
votes
1answer
45 views

The location of the compiled binaries of matplotlib

What is the location of the compiled binaries of matplotlib after I use pip install matplotlib to install it?
3
votes
1answer
3k views

OSX 10.8 PIP matplotlib 'freetype/config/ftheader.h' file not found

I apologize ahead of time if this topic has already been discussed. My situation seems to vary slightly from the others such that the path to my files is different. When trying to install matplotlib ...
1
vote
0answers
2k views

Why is there a .matplotlib folder in my home folder of Windows 8.1?

I even do not install python. And after I delete it, it will appear after a while. So I think it was created by some other applications. Does any one has met the same problem and know why? In ...
1
vote
1answer
78 views

Sage: graphics are plotted on the wrong X11 display

I set up a sage server by adding the following line to my ~/.profile: nohup sage -c "notebook(interface='', secure=True, automatic_login=False, directory='./sage_notebook.sagenb')" >/dev/null 2>...
1
vote
1answer
5k views

ssh -X with cygwin on Windows: “Unable to access the X Display”

I'm on a windows machine, trying to run a python program on my lab's server, and would like to be able to see the output plots it produces. Here is what I type to try: ssh –X user@server python ...
1
vote
2answers
3k views

Unable to install matplotlib on Mac Mountain Lion - “error: command 'gcc' failed with exit status 1”

I have been trying to install matplotlib through easy_install(easy_install-2.7 for python2.7) and by building from source(https://github.com/matplotlib/matplotlib). But both fail with the error - "...
0
votes
3answers
19k views

install python2.7.3 + numpy + scipy + matplotlib + scikits.statsmodels + pandas0.7.3 correctly

...using Linux (xubuntu). How to install python2.7.3 + numpy + scipy + matplotlib + scikits.statsmodels + pandas0.7.3 correctly ? My final aim is to have them working. The problem: ~$ python --...
4
votes
4answers
12k views

Matplotlib font_manager.py font finding error

On a Ubuntu 12.04 machine, whenever I plot something I get an error like: /usr/lib/pymodules/python2.7/matplotlib/font_manager.py:1228: UserWarning: findfont: Could not match :family=Bitstream ...