in reply to using GD::graph:lines

As zby pointed out, all occurrences of $my_graph should be replaced by $graph.

But you are right about this being straight out of the doc - these examples should work. So drop the module author a line that this inconsistency gets fixed, he'll be happy about it ...

-- Hofmator