Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Milestone
Description
Platform details:
CentOS Linux release 7.2.1511 (Core)
Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/7.0.7 mod_wsgi/4.5.3 Python/3.5.2
The below script blocks and gives
warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.') with the matplotlib version I got fromhttps://github.com/matplotlib/matplotlib
by a git clone on 9th Jul 2016.(Or may be 10th Jul?....Date same as my previous comment date)
# -*- coding: utf-8 -*-import impimport codecsimport os, sys,impimport cgiimport ioimport MySQLdb as mdbimport sysfrom collections import OrderedDictimport sysimport unicodedataimport numpy as npfrom mpl_toolkits.basemap import Basemap#import matplotlib.pyplot as pltimport matplotlib as mplmpl.use('Agg')import matplotlib.pyplot as pltimport iodef application(environ, start_response): map = Basemap(width=10, height=20, resolution='c', projection='gall', lon_0=0) map.drawcoastlines() ... ... ... img_io = io.BytesIO() return img_io
Metadata
Metadata
Assignees
Labels
No labels