Fixing errors when running histogram customization on 04.11-Settings-and-Stylesheets.ipynb #252
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
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:
axes
object and then setting it´sset_facecolor
to 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)