We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should have a few simple examples in the documentation, generated inline with the matplotlib plotting extensions for sphinx.
For example, we can use this to generate one of the main figures:
.. plot:: import matplotlib.pyplot as plt from grid_strategy.strategies import SquareStrategy specs = SquareStrategy('center').get_grid(7) for i, spec in enumerate(specs): ax = plt.subplot(spec) ax.text(0.5, 0.5, f"Subplot: {i}", color='white', fontweight='bold', va="center", ha="center") ax.tick_params(axis='both', bottom=False, top=False, left=False, right=False, labelbottom=False, labelleft=False) ax.patch.set_facecolor('#2E2E2E') plt.show()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We should have a few simple examples in the documentation, generated inline with the matplotlib plotting extensions for sphinx.
For example, we can use this to generate one of the main figures:
.. plot:: import matplotlib.pyplot as plt from grid_strategy.strategies import SquareStrategy specs = SquareStrategy('center').get_grid(7) for i, spec in enumerate(specs): ax = plt.subplot(spec) ax.text(0.5, 0.5, f"Subplot: {i}", color='white', fontweight='bold', va="center", ha="center") ax.tick_params(axis='both', bottom=False, top=False, left=False, right=False, labelbottom=False, labelleft=False) ax.patch.set_facecolor('#2E2E2E') plt.show()
The text was updated successfully, but these errors were encountered: