Questions tagged [matplotlib]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
210 views

matplotlib installation error in windows 10

Installed Python to path and tried installing matplotlib via command prompt using pip, but instead after typing the command: C:\Windows\system32>python -m pip install -U matplotlib I get this ...
1
vote
1answer
450 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 ...
1
vote
2answers
1k 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, ...
0
votes
0answers
16 views

After updating anaconda, IPython automatically plots any matplotlib plot on initialization

So I'm used to doing development in the IPython shell where I'll initialize a plot, and then add stuff to it before plotting, like: In [1]: fig = plt.figure() In [2]: ax = fig.add_subplot(111) In [...
1
vote
0answers
29 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
0answers
194 views

ModuleNotFoundError when installing basemap

I am trying to install basemap but I have a ModuleNotFoundError: >>> from mpl_toolkits.basemap import Basemap ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' ...
0
votes
1answer
42 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)
0
votes
0answers
54 views

Got 'Could not convert glyph to bitmap' error when run matplotlib fig.savefig() in parallel

Recently we got this 'Could not convert glyph to bitmap' error from time to time after we implemented a multi-process solution of the pipeline. That is, there could be multiple processes plotting and ...
0
votes
0answers
7 views

paquet pylab missing / ubuntu bionic

For the parenthesis I install a software of poker statistics http://fpdb.wikidot.com/. I followed the installation steps on their site and started to block when, at the end of these steps, I was ...
0
votes
0answers
135 views

Matplotlib import error after installing Seaborn

I have just installed Seaborn in my .local directory of a CentOS 7 machine using: pip install --user seaborn Now when I am trying import matplotlib.pyplot as plt in ipython console I am getting the ...
0
votes
0answers
110 views

When I enter %matplotlib inline in jupyter notebook it shows error [WinError 193] %1 is not a valid Win32 application

I use Jupyter notebook. And in need %matplotlib inline so I can plot some functions. It showed this mistake [WinError 193] %1 is not a valid Win32 application. I have fixed paths in Environment ...
0
votes
0answers
29 views

Keras and Matplotlib crashing when run together

Keras and Matplotlib will run individually in a Jupyter notebook but if I try to run both in the same notebook it crashes. The only error message reads: "The kernel appears to have died. It will ...
0
votes
0answers
57 views

Trouble running matplotlib using pipenv in PyCharm on macOS

As I've taught myself more about Python and started working on projects of a bigger scale, I decided switching over to an IDE would be best. I've successfully been using pipenv in PyCharm on macOS ...
2
votes
0answers
1k 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
0answers
92 views

Data Visualization - Time Periods

Is there any way to generate a graph that show comparison between time periods? Prefer in excel, but if matplotlib can help it is good. I have start-time and end-time of two different series in ...
0
votes
0answers
18 views

Change matplotlib save directory

My ipython 3.7 with spyder IDE was working fine and saving matplotlib files (savefig) in the current working directory. However, after I installed comodo anti-virus, the files are now being saved at C:...
0
votes
0answers
20 views

Matplotlib installs but cannot be imported into python program

I have been able to install matplotlib in the past and to use it with a python program. Now it will install but I get an error that matplotlib is not a module, or cannot be imported. I have used pip, ...
0
votes
1answer
396 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
0answers
59 views

How to install matplotlib offline?

I am having a Ubuntu VM which is configured to be used for deep learning with most of the libraries installed like torch. Right now matplotlib is not installed in it. The system is offline and cannot ...
0
votes
0answers
228 views

How to install numpy and matplotlib in django

I am not able to install numpy and matplotlib in django. No module found error. However at the python prompt when I type import numpy it works How do I install numpy & matplotlib from django? ...
0
votes
2answers
494 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
1k 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. ...
11
votes
5answers
11k 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
0answers
9 views

Matplotlib isn't showing plots even though the code is working

When I use matplotlib, the code doesn't bring up any errors but I don't get a plot window showing up. I think I need to change the backend but I don't know how.
0
votes
2answers
851 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
132 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
6k 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
674 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
86 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 ...
1
vote
2answers
47 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
190 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
10k 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
291 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 -------------...
3
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
723 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
44 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
77 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
4k 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
11k 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 ...