MatplotlibDeprecationWarning prevents run of test_models.py script (Exercise 5-5)
ijmiller2 opened this issue · 2 comments
ijmiller2 commented
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
Thanks for letting me know. I'll fix that as soon as I can.
…On Fri, Jul 6, 2018 at 5:16 PM, ijmiller2 ***@***.***> 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
<#117>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ABy37eer_7AEAgZqKmWyo7ucWV2tySvSks5uD9O2gaJpZM4VGCaE>
.
ijmiller2 commented
Great, thank you!
… On Jul 6, 2018, at 7:00 PM, Allen Downey ***@***.***> 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 ***@***.***> 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
> <#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 <#117 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AIKeF3A_y2GJNOR5kt-VyOMyCLk34I84ks5uD-v1gaJpZM4VGCaE>.