Commit Graph

8 Commits

Author SHA1 Message Date
Piyush c4e037c16f Fix handling of --text option in `msg-graphs' example
The previous implementation of `msg-graphs` called `mu:plots/mu:plot` with
output set to `#t` when the option `--text` was passed.  This caused an error in
the `string-append` call in `mu:plot` since the expression `(or output "dumb")`
evaluated to the symbol `#t` rather than a string.

This commit fixes this by making sure that `mu:plot` is called with `output` set
to `"dumb"` when the option `--text` is passed to `msg-graphs`, and with
`output` set to `"wxt"` (the default multi-platform graphical output device in
`gnuplot`) otherwise.  This is done by essentially making the code of
`msg-graphs` agree with the plotting code in the `guile/scripts` directory.
2019-05-11 14:46:30 +05:30
djcb 2551e77325 * guile: update some of the examples 2012-09-17 11:41:11 +03:00
djcb 8abe211a58 * guile: make sure the examples still work 2012-07-14 12:46:42 +03:00
djcb c2676540d0 * guile: some internal improvements 2012-07-12 15:46:19 +03:00
djcb 27cc5cea62 * guile/examples/msg-graphs: show years correctly in graphs, add year-month period 2012-04-28 23:03:22 +03:00
djcb dec4ce8181 * fix contacts-export, msg-graphs 2012-01-22 11:44:52 +02:00
djcb 3ea8b1fe8c * guile: fix logic inversion in plot generation 2012-01-22 11:03:47 +02:00
djcb ece8d795e3 * rename msg-stats => msg-graphs 2012-01-15 14:33:22 +02:00