View get_axis.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class get_axis(): | |
""" | |
Context manager to generate subplots quickly | |
Parameters: | |
- rows, cols (int): Rows and columns to draw. | |
- xlabel, ylabel (str / list): Labels for the horizontal and vertical axis, If xlabel/ylabel are lists then each corresponding subplot will have its own labels. | |
- title (str / list): Title of the plot, If title is a list then each subplot will have its own title. | |
- figzise (tuple): Size of the figure in inches (same as figure.figsize). | |
- figargs (dict): Additionl arguments passed to plt.subplots |
View TextEditor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This is a really simple text editor to be used within Unity | |
It's useful to write memos, notes or ideas inside your Unity Editor window | |
Kinda like Blender's Text Editor | |
*/ | |
using UnityEngine; | |
using UnityEditor; | |
using System; | |
using System.IO; |