Questions tagged [matplotlib]
36 questions
14
votes
6 answers
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 location: /home/gpu-server/anaconda3
added / updated…
Amuoeba
- 453
- 3
- 5
- 11
6
votes
4 answers
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 labels in the graphs not rendering properly.
I know…
Jonny
- 231
5
votes
1 answer
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 choose to store all the column into lists then…
Jean
- 173
5
votes
1 answer
_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, after restarting the computer, suddenly I get an…
fgh
- 81
4
votes
2 answers
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 following required packages can not be built:
*…
Aleksei Petrenko
- 245
4
votes
4 answers
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 Vera
…
Tim
- 1,752
4
votes
2 answers
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, and has been aborted.
This package cannot be…
Fabian Bachl
- 41
3
votes
1 answer
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 on Mac OS X 10.8.5 the following error is…
fire_water
- 131
2
votes
2 answers
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 that use matplotlib for plotting. Every time a plot…
Sasha
- 123
2
votes
1 answer
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 is that so far I have been using gnuplot for all…
lucian
- 133
- 2
- 2
- 7
2
votes
2 answers
Plot/graph/chart generalized language, schema or API
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 package (e.g. Matlab, ggplot, plotly, matplotlib) has…
abalter
- 766
1
vote
0 answers
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 addition, here is the file structure of the…
Elderry
- 1,861
1
vote
1 answer
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 &
I run my sage server from an Ubuntu desktop.
When…
Alex Eftimiades
- 225
1
vote
1 answer
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
import matplotlib
matplotlib.use(‘WX’)
import…
user2029626
1
vote
2 answers
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 - "error: Setup script exited with error: command…
ryan c788
- 11
- 1
- 3