I just built a bar plot first with render_string() and then translated it into a pdf and then bounced it to standard output using render_stdout(), intercepted it using the > operator and wrote it to a file. The latter produced much better plots. I mean, seriously. What kind of blatant workarounds do you have to do to create decent plots? Why don't render_string() and render_stdout do almost the same under the bonnet with the difference that both methods have different destinations? What is the idea behind this?
I just built a bar plot first with
render_string()
and then translated it into a pdf and then bounced it to standard output usingrender_stdout()
, intercepted it using the>
operator and wrote it to a file. The latter produced much better plots. I mean, seriously. What kind of blatant workarounds do you have to do to create decent plots? Why don'trender_string()
andrender_stdout
do almost the same under the bonnet with the difference that both methods have different destinations? What is the idea behind this?