AllenDowney / ThinkStats2

Text and supporting code for Think Stats, 2nd Edition
http://allendowney.github.io/ThinkStats2/
GNU General Public License v3.0
4.02k stars 11.28k forks source link

MatplotlibDeprecationWarning prevents run of test_models.py script (Exercise 5-5) #117

Closed ijmiller2 closed 2 years ago

ijmiller2 commented 6 years ago

Here's the error I'm getting:

/anaconda2/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:107: MatplotlibDeprecationWarning: Adding an axes using the same arguments as a previous axes currently reuses the earlier instance. In a future version, a new instance will always be created and returned. Meanwhile, this warning can be suppressed, and the future behavior ensured, by passing a unique label to each axes instance. warnings.warn(message, mplDeprecation, stacklevel=1) /Users/ijmiller2/Desktop/UW_2018/ThinkStats2/code/thinkplot.py:118: UserWarning: Ran out of colors. Starting over. warnings.warn('Ran out of colors. Starting over.')

AllenDowney commented 6 years ago

Thanks for letting me know. I'll fix that as soon as I can.

On Fri, Jul 6, 2018 at 5:16 PM, ijmiller2 notifications@github.com wrote:

Here's the error I'm getting:

/anaconda2/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:107: MatplotlibDeprecationWarning: Adding an axes using the same arguments as a previous axes currently reuses the earlier instance. In a future version, a new instance will always be created and returned. Meanwhile, this warning can be suppressed, and the future behavior ensured, by passing a unique label to each axes instance. warnings.warn(message, mplDeprecation, stacklevel=1) /Users/ijmiller2/Desktop/UW_2018/ThinkStats2/code/thinkplot.py:118: UserWarning: Ran out of colors. Starting over. warnings.warn('Ran out of colors. Starting over.')

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AllenDowney/ThinkStats2/issues/117, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy37eer_7AEAgZqKmWyo7ucWV2tySvSks5uD9O2gaJpZM4VGCaE .

ijmiller2 commented 6 years ago

Great, thank you!

On Jul 6, 2018, at 7:00 PM, Allen Downey notifications@github.com wrote:

Thanks for letting me know. I'll fix that as soon as I can.

On Fri, Jul 6, 2018 at 5:16 PM, ijmiller2 notifications@github.com wrote:

Here's the error I'm getting:

/anaconda2/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:107: MatplotlibDeprecationWarning: Adding an axes using the same arguments as a previous axes currently reuses the earlier instance. In a future version, a new instance will always be created and returned. Meanwhile, this warning can be suppressed, and the future behavior ensured, by passing a unique label to each axes instance. warnings.warn(message, mplDeprecation, stacklevel=1) /Users/ijmiller2/Desktop/UW_2018/ThinkStats2/code/thinkplot.py:118: UserWarning: Ran out of colors. Starting over. warnings.warn('Ran out of colors. Starting over.')

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AllenDowney/ThinkStats2/issues/117, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy37eer_7AEAgZqKmWyo7ucWV2tySvSks5uD9O2gaJpZM4VGCaE .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AllenDowney/ThinkStats2/issues/117#issuecomment-403166287, or mute the thread https://github.com/notifications/unsubscribe-auth/AIKeF3A_y2GJNOR5kt-VyOMyCLk34I84ks5uD-v1gaJpZM4VGCaE.