File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -43,18 +43,16 @@ def about(html: bool = True, copyright_only: bool = False) -> str:
4343 Returns:
4444 str: text about this package
4545 """
46- shortdesc = (
47- f"PlotPy { plotpy .__version__ } \n \n "
48- f"PlotPy is a set of tools for curve and image plotting.\n "
49- f"Created by Pierre Raybaut."
46+ info = guidata_about .AboutInfo (
47+ name = "PlotPy" ,
48+ version = plotpy .__version__ ,
49+ description = _ ("Set of tools for curve and image plotting." ),
50+ author = "Pierre Raybaut" ,
51+ year = 2016 ,
52+ organization = "PlotPyStack" ,
5053 )
5154 addinfos = f"guidata { guidata .__version__ } , PythonQwt { qwt .__version__ } "
52- desc = guidata_about .get_general_infos (addinfos )
53- if not copyright_only :
54- desc = f"{ shortdesc } \n \n { desc } "
55- if html :
56- desc = desc .replace ("\n " , "<br />" )
57- return desc
55+ return info .about (html = html , copyright_only = copyright_only , addinfos = addinfos )
5856
5957
6058def show_about_dialog () -> None :
You can’t perform that action at this time.
0 commit comments