<commit_before>#------------------------------------------------------------------------------
# Copyright (c) 2005, Enthought, Inc.
# All rights reserved.
# 
# This software is provided without warranty under the terms of the BSD
# license included in enthought/LICENSE.txt and may be redistributed only
# under the conditions described in the aforementioned license.  The license
# is also available online at http://www.enthought.com/licenses/BSD.txt
# Thanks for using Enthought open source!
# 
# Author: Enthought, Inc.
# Description: <Enthought pyface package component>
#------------------------------------------------------------------------------
""" TVTK simple scene example. """


# Standard library imports.
import os, random, sys

# Put the Enthought library on the Python path.
sys.path.append(os.path.abspath(r'..\..\..'))

# Enthought library imports.
from enthought.pyface.api import GUI
from enthought.pyface.api import PythonShell
from enthought.pyface.api import SplitApplicationWindow
from enthought.pyface.tvtk.api import SimpleScene
from enthought.pyface.tvtk.actors import *
from enthought.traits.api import Float, Str, Instance


class MainWindow(SplitApplicationWindow):
    """ The main application window. """

    # The actors we can create.
    ACTORS = [
        arrow_actor, axes_actor, cone_actor, cube_actor, cylinder_actor,
        earth_actor, sphere_actor
    ]

    #### 'SplitApplicationWindow' interface ###################################
    
    # The ratio of the size of the left/top pane to the right/bottom pane.<commit_msg>Fixing TraitsGUI simple_scene example to correct the import of SimpleScene, which was removed from the pyface.tvtk.api.<commit_after>#------------------------------------------------------------------------------
# Copyright (c) 2005, Enthought, Inc.
# All rights reserved.
# 
# This software is provided without warranty under the terms of the BSD
# license included in enthought/LICENSE.txt and may be redistributed only
# under the conditions described in the aforementioned license.  The license
# is also available online at http://www.enthought.com/licenses/BSD.txt
# Thanks for using Enthought open source!
# 
# Author: Enthought, Inc.
# Description: <Enthought pyface package component>
#------------------------------------------------------------------------------
""" TVTK simple scene example. """


# Standard library imports.
import os, random, sys

# Put the Enthought library on the Python path.
sys.path.append(os.path.abspath(r'..\..\..'))

# Enthought library imports.
from enthought.pyface.api import GUI
from enthought.pyface.api import PythonShell
from enthought.pyface.api import SplitApplicationWindow
from enthought.pyface.tvtk.simple_scene import SimpleScene
from enthought.pyface.tvtk.actors import *
from enthought.traits.api import Float, Str, Instance


class MainWindow(SplitApplicationWindow):
    """ The main application window. """

    # The actors we can create.
    ACTORS = [
        arrow_actor, axes_actor, cone_actor, cube_actor, cylinder_actor,
        earth_actor, sphere_actor
    ]

    #### 'SplitApplicationWindow' interface ###################################
    
    # The ratio of the size of the left/top pane to the right/bottom pane.
{'fraction_non_alphanumeric': 0.19257896350812634, 'fraction_numerical': 0.0024532352039251764, 'mean_word_length': 2.728, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3481090', 'n_tokens_mistral': 868, 'n_tokens_neox': 807, 'n_words': 298}