mattjj / pyhsmm

MIT License
545 stars 172 forks source link

Use pcolormesh with matplotlib 2.0 #73

Closed nfoti closed 7 years ago

nfoti commented 7 years ago

The pcolorfast function throws an error when used in matplotlib 2.0. However, in models._plot_stateseq_pcolor where it is called there is a comment suggesting the use of pcolormesh. I have verified that pcolormesh does work with matplotlib 2.0 so this change should probably be made.

I'm happy to make a PR, but it may just be easier for @mattjj to make the change.

mattjj commented 7 years ago

Looks like it was just a drop-in replacement. Does that sound right to you?

nfoti commented 7 years ago

Yes, that's all it was. On Tue, Mar 7, 2017 at 10:57 AM Matthew Johnson notifications@github.com wrote:

Looks like it was just a drop-in replacement. Does that sound right to you?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mattjj/pyhsmm/issues/73#issuecomment-284820781, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXvSL7kRm2H-Maj_jI8C1XZNh72G20hks5rjai1gaJpZM4MTvDC .