The package can be installed by using
<code>python3 -mpip install matplotlib_baseline_images
</code>.
</p><h2 id=
creation-of-the-matplotlib-baseline-image-generation-flag>Creation of the matplotlib baseline image generation flag
</h2><p>We successfully created the
<code>generate_missing
</code> command line flag for baseline image generation for
<code>matplotlib
</code> and
<code>mpl_toolkits
</code> in the previous months. It was generating the
<code>matplotlib
</code> and the
<code>mpl_toolkits
</code> baseline images initially. Now, we have also modified the existing flow to generate any missing baseline images, which would be fetched from the
<code>master
</code> branch on doing
<code>git pull
</code> or
<code>git checkout -b feature_branch
</code>.
</p><p>Now, the image generation on the time of fresh install of matplotlib and the generation of missing baseline images works with the
<code>python3 -pytest lib/matplotlib matplotlib_baseline_image_generation
</code> for the
<code>lib/matplotlib
</code> folder and
<code>python3 -pytest lib/mpl_toolkits matplotlib_baseline_image_generation
</code> for the
<code>lib/mpl_toolkits
</code> folder.
</p><h2 id=
documentation>Documentation
</h2><p>We have written documentation explaining the following scenarios:
</p><ol><li>How to generate the baseline images on a fresh install of matplotlib?
</li><li>How to generate the missing baseline images on fetching changes from master?
</li><li>How to install the
<code>matplotlib_baseline_images_package
</code> to be used for testing by the developer?
</li><li>How to intentionally change an image?
</li></ol><h2 id=
links-to-the-work-done>Links to the work done
</h2><ul><li><a href="
https://storage.googleapis.com/summerofcode-prod.appspot.com/gsoc/core_project/doc/6456687923298304_1585668871_MatPlotLib_GSoc_Proposal__Baseline_Images_Problem.pdf?Expires=1597725704&GoogleAccessId=summerofcode-prod%40appspot.gserviceaccount.com&Signature=xyvO7MmMbNmW3BFz8J3JXUovI3xfZLBll4UPWZqZvHbOfPAu6PAK9enC4vXBCTwgH%2BXQ%2FxU57P3K1G0MAXvtAI7Wq0zhEfpZNXOPUQnipqRkkGdJYLLiFkIV93R6M83Z04Z%2BxyX3pepIPPaHTTNkXoxkXVyG2bx5jwtBnTTmCn1peOURPmsjOkdSp5w57vkTxzlGal5li%2FaV4sseGP8kzGtQ2YxljfZXura0WX5uA7bcNumdqMXUJ2eeqTxOwucUh8uOj6b%2BLn21d3py2KA%2FyxBuaBF8rwdqZM%2ByEeuNJ8aPAoR5kUS%2FUq7kjCyOIfuwb8%2F84TafLa91oGd4wMFNKA%3D%3D"
>Proposal
</a></li><li><a href=
https://github.com/matplotlib/matplotlib/issues/16447>Issue
</a></li><li><a href=
https://github.com/matplotlib/matplotlib/pull/17793>Pull Request
</a></li><li><a href=
https://matplotlib.org/matplotblog/categories/gsoc/>Blog Posts
</a></li></ul><h2 id=
mentors>Mentors
</h2><ul><li>Thomas A Caswell
</li><li>Hannah
</li><li>Antony Lee
</li></ul><p>I am grateful to be part of such a great community. Project is really interesting and challenging :)
</p><p>Thanks Thomas, Antony and Hannah for helping me to complete this project.
</p></article></main><nav class="
end-nav side-padding"
></nav><script src=
https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js></script><script defer src=
https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js integrity=
sha384-K3vbOmF2BtaVai+Qk37uypf7VrgBubhQreNQe9aGsz9lB63dIFiQVlJbr92dw2Lx crossorigin=
anonymous></script><script defer src=
https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js integrity=
sha384-kmZOZB5ObwgQnS/DuDg6TScgOiWWBiVt0plIRkZCmE6rDZGrEOQeHM5PcHi+nyqe crossorigin=
anonymous onload=
renderMathInElement(document.body);></script><script src=
https://matplotlib.org/matplotblog/js/core.min.js></script><script>hljs.initHighlightingOnLoad();</script></body></html>
0 commit comments