atom-community / atom-community/atom-script

Can no longer use matplotlib with this new script update.

Open
#2,444 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

i've tried to call my usual import snippet:

```
import matplotlib.pyplot as plt
plt.style.use('dark_background')
plt.figure().patch.set_facecolor('#121212')
```
`plt.axes().set_facecolor('#101010')`

and it gives me:

`plt.style.use('dark_background')
AttributeError: 'module' object has no attribute 'style'`

But when I replace the script folder in /.atom/packages with an older version, it runs like normal.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.