![]() With a solid capacity for creating 2D and 3D graphs, Veusz helps researchers visualize all types of data structures they use in social sciences, engineering, biology, medicine, etc. It is freely available and well-integrated with Python. """Set the modified flag on the data, and inform views.Veusz is a graphing program designed to produce publication-ready plots for academic and professional journals. """Find name for given dataset, raising ValueError if missing."""ĭef renameDataset( self, oldname, newname):ĭef setModified( self, ismodified = True): # load in the files, merging the vars read and errors Dict of tuples containing dataset names and number of errors If filenames is a set(), only reload from these filenames """Reload linked datasets from their files. If filenames is a set, only get the objects with filenames givenĭef reloadLinkedDatasets( self, filenames = None): """Get a list of LinkedFile objects used by the document. """Returns True if previous operation can be redone."""ĭef getLinkedFiles( self, filenames = None): applyOperation( operation, redoing = True) ![]() """Returns True if previous operation can be removed.""" This allows multiple operations to be batched up for simple undo. The objects are pushed into a list and popped off In this mode further operations are added to the OperationMultiple specified, # in batch mode, create an OperationMultiple for all changes If redoing is not True, the redo stack is cleared Updates are suspended during the operation. Operations represent atomic actions which can be done to the document """Log a message - this is emitted as a signal."""ĭef applyOperation( self, operation, redoing = False): makeWidget( 'graph3d', scene, self)Īssert mode in ( 'graph', 'polar', 'ternary') Mode = 'graph', 'polar', 'ternary' or 'graph3d' """Add default widgets to create document. compatlevel)ĭef makeDefaultDoc( self, mode = 'graph', compatlevel = - 1): "Compatibility level greater than supported by this Veusz version") """Return context manager for suspending updates.""" # bump this up as some watchers might ignore this otherwise This speeds up modification of the document and prevents the document # if set, do not notify listeners of updates compatlevel = 0 # for non-backward compatible changes changeset = 0 # increased when the document changes # this is emitted when the document is modified """Document class for holding the graph data. """Handle document updates/suspensions."""ĭef _exit_( self, type, value, traceback): # find the parent to add the child to, we go up the tree looking """Find the nearest relevant parent for the widgettype given.""" ![]() ![]() translate( context, text, disambiguation)ĭef getSuitableParent( widgettype, initialwidget): """A class to represent Veusz documents, with dataset classes."""ĭef _( text, disambiguation = None, context = "Document"): # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # with this program if not, write to the Free Software Foundation, Inc., # You should have received a copy of the GNU General Public License along # GNU General Public License for more details. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # but WITHOUT ANY WARRANTY without even the implied warranty of # This program is distributed in the hope that it will be useful, # the Free Software Foundation either version 2 of the License, or # it under the terms of the GNU General Public License as published by # This program is free software you can redistribute it and/or modify _ Function getSuitableParent Function DocSuspend Class _init_ Function _enter_ Function _exit_ Function Document Class _init_ Function wipe Function clearHistory Function suspendUpdates Function enableUpdates Function suspend Function setCompatLevel Function makeDefaultDoc Function log Function applyOperation Function batchHistory Function undoOperation Function canUndo Function redoOperation Function canRedo Function isBlank Function setData Function deleteData Function modifiedData Function getLinkedFiles Function reloadLinkedDatasets Function datasetName Function renameDataset Function getData Function setModified Function isModified Function loadPlugins Function paintTo Function getNumberPages Function getVisiblePages Function getPage Function datasetTags Function _writeFileHeader Function saveDatasetTags Function saveToFile Function saveToHDF5File Function save Function load Function exportStyleSheet Function _pagedocsize Function pageSize Function docSize Function resolvePath Function resolveWidgetPath Function resolveSettingPath Function walkNodes Function formatValsWithDatatypeToText Function
0 Comments
Leave a Reply. |