garrettj403 / SciencePlots

Matplotlib styles for scientific plotting
MIT License
7.12k stars 709 forks source link

science + grid not working #7

Closed kanginthaya closed 4 years ago

kanginthaya commented 4 years ago

Hi,

Great package, I am using this for my master thesis. It's just fantastic to use. Just a small problem however - plt.style.use(['science','grid']) seems not to work for me. Any suggestions on how to get it working?

kanginthaya commented 4 years ago

I fixed it by alternately using -

ax.grid(linestyle='--', alpha=0.5)

xuehuachunsheng commented 4 years ago

It seems that the legend part without grid.

xuehuachunsheng commented 4 years ago

The latest commit provide the ['science', 'grid'] support. Please use the latest commit.