Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jpeloquin
on March 18, 2019
|
parent
|
context
|
favorite
| on:
Tips and tricks to write LaTeX papers in with figu...
Changing the plot backend should fix this.
import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt
https://stackoverflow.com/questions/2801882/generating-a-png...
stilley2
on March 19, 2019
[–]
I believe Agg is only for bitmap output. While there are probably backends that work with a headless system, I find the OO option much more flexible.
p10_user
on March 19, 2019
|
parent
[–]
Agg works for all outputs. I use it in combination with OO over ssh all the time.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: