eaton-lab / toytree

A minimalist tree plotting library using toyplot graphs
http://eaton-lab.org/toytree
BSD 3-Clause "New" or "Revised" License
164 stars 28 forks source link

remove rU as it's deprecated #62

Closed SimonGreenhill closed 1 year ago

SimonGreenhill commented 1 year ago

The argument 'rU' in open to open a file with universal newlines was deprecated in python 3 as this is behaviour is now the default in py3. Therefore trying to read a file with mode='rU' will now raise an error.

This PR removes 'rU' , but probably also breaks python 2 compatibility.