Bug ID 1136634
Summary openSUSE matplotlib generates no graph
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.0
Hardware x86-64
OS SUSE Other
Status NEW
Severity Minor
Priority P5 - None
Component Development
Assignee bnc-team-screening@forge.provo.novell.com
Reporter mhenatsch@gmx.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101
Firefox/67.0
Build Identifier: 

I have written a Python program to generate a graphical representation of
temperatures over time. The program runs correctly under Raspbian and also
under Manjaro. Under both systems it generates the desired graph. Not so under
openSUSE - neither under Leap 42.3 nor under Leap 15.0. It throws no exceptions
and correctly prints out text, but no graph. The c ode is exactly the same as
in the two other operating systems.
I had installed matplotlib through Yast from the openSUSE repositories.
Examining in Yast the "Technical Data" for matplotlib I found the following:
License: SUSE-Matplotlib
Vendor: openSUSE
Packager: http://bugs.opensuse.org
>From this I concluded that the openSUSE-version of matplotlib is non-standard.
I uninstalled (with Yast) matplotlib and reinstalled it from the command line
with "pip3 install matplotlib". This got me the original version and since then
everything runs well, including the generation of graphs.

Reproducible: Always

Steps to Reproduce:
1.Create a Python program ending with the following code:

plt.plot(timeslist, temperatureslist)
plt.ylabel('Temperature [� C]')
print(plt.ylabel)
plt.xlabel('Time (Date and Time)')
print(plt.xlabel)
plt.title(timespan, fontsize=16, color='blue')
plt.grid(True)
plt.show()
2.Run the program. All goes well, except the generation of the graph.
3.Uninstall the SUSE-version of matplotlib and reinstall the library with "pip3
install matplotlb". Run the Python program again. You will see a nice graph!


You are receiving this mail because: