import numpy as np from bokeh.plotting import figure, output_file, show from bokeh.models import ColumnDataSource, Div from bokeh.layouts import gridplot, column def main(): xs = np.linspace(-np.pi, np.pi, 10) ys = xs Xs, Ys = np.meshgrid(xs, ys) Xs, Ys = Xs.flatten(), Ys.flatten() theta = np.deg2rad(30) mat = np.array([[np.cos(theta), -np.sin(theta)], [np.sin(theta), np.cos(theta)]]) transXs, tra