Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Fixing errors when running histogram customization on 04.11-Settings-and-Stylesheets.ipynb #252
Conversation
Creating an axes object and then setting it´s facecolor for a gray background. Hiding top and right ticks with ax.tick_params.
I believe the code has stopped working due to Matplotlib´s version updates. it gives an error when setting the graph´s background and also when hiding top and right ticks.
So, this pull request is:
axesobject and then setting it´sset_facecolorto gray.ax.tick_params.The code diffs are:
ax = plt.axes(axisbg='#E6E6E6')toax = plt.axes( ) ax.set_facecolor('#E6E6E6')ax.xaxis.tick_bottom() ax.yaxis.tick_left()toax.tick_params(top=False) ax.tick_params(right=False)