You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
following Debian policies, we're shipping the 'sample_data' contents in /usr/share/matplotlib/sample_data/ but cbook.get_sample_data() looks up those files into the module directory.
I tried patching get_sample_data() to set root to the path above, but that caused all the examples using get_sample_data() to fail in generating the images during documentation build because at that time, /usr/share/matplotlib/sample_data/ is still not populate.
I've then decided to reintroduce examples.directory parameter: this way I'll be able to set the temporary path during build time, and the correct path once the package will be installed.
I'll start writing a patch right away, I'll post it here once ready.
Cheers,
Sandro
The text was updated successfully, but these errors were encountered:
Hello,
following Debian policies, we're shipping the 'sample_data' contents in /usr/share/matplotlib/sample_data/ but cbook.get_sample_data() looks up those files into the module directory.
I tried patching get_sample_data() to set root to the path above, but that caused all the examples using get_sample_data() to fail in generating the images during documentation build because at that time, /usr/share/matplotlib/sample_data/ is still not populate.
I've then decided to reintroduce examples.directory parameter: this way I'll be able to set the temporary path during build time, and the correct path once the package will be installed.
I'll start writing a patch right away, I'll post it here once ready.
Cheers,
Sandro
The text was updated successfully, but these errors were encountered: