This is a play on the word plot. Plot can mean a piece of land. Plot can also mean a storyline. The joke can mean that the garden was quite small, but it can also mean that the story didn't have much of a storyline.
I wrote a novel about a fellow who had a small garden . It didn ' t have much of a plot .