-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Description
Bug report
Running python/matplotlib/basemap on 3TB memory machine to create a large 400x240 inch image with 80 dpi.
This ends in segmentation fault. If memory and time permits, shouldn't matplotlib be able to handle it?
Bug summary
Segfault on rendering large image
Code for reproduction
import matplotlib
matplotlib.use('Agg') # Must be before importing matplotlib.pyplot or pylab!
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
plt.figure(figsize=(400,240))
map = Basemap(llcrnrlon=-119,llcrnrlat=22,urcrnrlon=-64,urcrnrlat=49,
projection='lcc',lat_1=33,lat_2=45,lon_0=-95, resolution='l') #l for low resolution
map.drawcoastlines()
map.drawcountries()
plt.savefig("us_map.png",dpi=80)
Actual outcome
# If applicable, paste the console output here
#
#
warnings.warn("tight_layout : falling back to Agg renderer")
[1] 9040 segmentation fault ipython
Expected outcome
Matplotlib version
- Operating System: linux
- Matplotlib Version: 1.5.3
- Python Version: 2.7
- Jupyter Version (if applicable):
- Other Libraries: Basemap
Installed using easybuild, i.e., compiled from source
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels