plot - seaborn/Matplotlib export EPS causes "falling back to Agg renderer" -


consider mwe below. cause (seaborn 0.7.1, matplotlib 1.5.1):

/usr/local/lib/python3.5/dist-packages/matplotlib/tight_layout.py:222: userwarning: tight_layout : falling agg renderer
warnings.warn("tight_layout : falling agg renderer")

how fix this?

mwe

import matplotlib matplotlib.use('ps') import pandas pd import random import seaborn sns import matplotlib.pyplot plt ds = pd.dataframe() ds['x'] = random.sample(range(1, 100), 25) ds['y'] = random.sample(range(1, 100), 25) p = sns.jointplot(x = ds['x'],y = ds['y'],linewidth=1,edgecolor='black',alpha=0.3,stat_func=none) plt.savefig("test.eps") 


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -