11#!/usr/bin/python
22# -*- coding: utf-8 -*-
33
4- # (c) 2017, Johnny Chan
5- # https://github.com/jchanvfx/NodeGraphQt
4+ # (c) 2017, Johnny Chan and some awesome contributors (^_^)
5+ # https://github.com/jchanvfx/NodeGraphQt/graphs/contributors
66
77# Redistribution and use in source and binary forms, with or without
88# modification, are permitted provided that the following conditions are met:
3434into applications that supports **PySide2**.
3535
3636project: https://github.com/jchanvfx/NodeGraphQt
37+ documantation: https://jchanvfx.github.io/NodeGraphQt/api/html/index.html
3738
3839example code:
3940
4041.. code-block:: python
4142 :linenos:
4243
43- import sys
4444 from NodeGraphQt import QtWidgets, NodeGraph, BaseNode
4545
4646
@@ -55,7 +55,7 @@ def __init__(self):
5555 self.add_output('bar')
5656
5757 if __name__ == '__main__':
58- app = QtWidgets.QApplication(sys.argv )
58+ app = QtWidgets.QApplication([] )
5959 graph = NodeGraph()
6060
6161 graph.register_node(BaseNode)
@@ -78,7 +78,7 @@ def __init__(self):
7878except ImportError as ie :
7979 from .vendor .Qt import __version__ as qtpy_ver
8080 from .vendor .Qt import QtWidgets , QtGui , QtCore , QtCompat ,QtOpenGL
81- print ('Cannot import "Qt.py" module falling back on '
81+ print ('NodeGraphQt: Can \' t import "Qt.py" module falling back on '
8282 '"NodeGraphQt.vendor.Qt ({})"' .format (qtpy_ver ))
8383
8484from .base .graph import NodeGraph , SubGraph
0 commit comments