Releases: dylannalex/curvipy
Releases · dylannalex/curvipy
v1.1.1
- Updated plotter:
- Created 'curvipy.ScreenConfiguration(window_title, background_color, window_width, window_height)'.
- Removed 'window_title' and 'background_color' attributes from 'curvipy.Plotter' as they are now defined at 'curvipy.ScreenConfiguration'.
- Updated 'curvipy.AxesConfiguration' attributes:
- Added 'show_axes_direction'
- Added 'x_ticks_distance' and 'y_ticks_distance'
- Removed 'x_axis_scale' and 'y_axis_scale'
- Renamed 'x_axis_ticks' and 'y_axis_ticks' to 'x_ticks' and 'y_ticks'
- Renamed 'x_axis_tick_decimals' and 'y_axis_tick_decimals' to 'x_ticks_decimals' and 'y_ticks_decimals'
- Renamed 'x_axis_tick_number_align' and 'y_axis_tick_number_align' to 'x_ticks_align' and 'y_ticks_align'
- Renamed 'tick_number_color' to 'ticks_color'
- Renamed 'tick_number_font' to 'ticks_font'
- Updated 'curvipy.PlottingConfiguration' attributes:
- Removed 'PlottingConfiguration.show_vector_values'
- Removed 'PlottingConfiguration.vector_values_line_color'
- Removed 'PlottingConfiguration.vector_values_line_width'
- Created 'curvipy.ScreenConfiguration(window_title, background_color, window_width, window_height)'.
v1.1.0
- Updated plotter:
- 'curvipy.Plotter' now draws axes ticks and arrows (to indicate the axis direction).
- Removed 'interval: curvipy.Interval' parameter of 'curvipy.Plotter.plot_curve()' and 'curvipy.Plotter.plot_animated_curve()' methods.
- 'curvipy.Plotter.plot_vector()' can now display vector's components.
- Created 'curvipy.PlottingConfiguration' and 'curvipy.AxesConfiguration'
- Updated 'curvipy.Plotter' builder parameters to 'curvipy.Plotter(window_title: str = "Curvipy", background_color: str = "#FFFFFF", plotting_config: PlottingConfiguration, axes_config: AxesConfiguration)'.
- Now 'x_axis_scale' and 'y_axis_scale' (defined at curvipy.AxesConfiguration') can take any real value (negative or positive) and default to one.
- Updated vector:
- Added vector, addition, subtraction, scaling and equality.
- Created 'curvipy.Vector.place()' method which moves the vector to a specified set of coordinates.
- Updated curves:
- Removed 'interval: curvipy.Interval' parameter of 'curvipy.Curve.points()' method.
- Added 'interval: curvipy.Interval' parameter to 'curvipy.Function' and 'curvipy.ParametricFunction' builder.
- Updated documentation.
v1.0.1
This update brings a structure improvement and better documentation. Curvipy 1.0.0 scripts are completely compatible with this new version:
- Made modules private. Now importing curvipy will only import its classes.
- Created 'curvipy._screen' module. This module contains the 'ScreenFacade' class which encapsulates the turtle package functionalities.
- Updated documentation.
v1.0.0
- Added 'curvipy.curve' module. This module contains the classes:
- 'Curve': base class for all two-dimensional curves.
- 'Function': unction that given a real number returns another real number.
- 'ParametricFunction': function that given a real number returns a 2-dimensional vector.
- 'TransformedCurve': applies a linear transformation to the given curve.
- Added 'curvipy.interval' module. This module contains the class 'Interval', which is the interval in which a curve will be plotted.
- Added 'curvipy.vector' module. This module contains the class 'Vector', which is a two-dimensional vector.
- Updated 'curvipy.graphing_calculator' module (now named 'curvipy.plotter'):
- Renamed 'curvipy.graphing_calculator' to 'curvipy.plotter' and its class 'GraphingCalculator' to 'Plotter'.
- Replaced methods 'draw_vector', 'draw_curve' and 'draw_animated_curve' with 'plot_vector', 'plot_curve' and 'plot_animated_curve' respectively.
- Deleted 'curvipy.lintrans' module. Linear transformations can now be defined with 'curvipy.TransformedCurve' class.
- Updated README and docs.
- Deleted 'examples' folder since README and docs now contains a Usage Example section.