Add 'get_segments' method to the collections.LineCollection class
Merge pull request #1655 from toddrjen/get_segments

add get_segments method to collections.LineCollection