We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82a16a4 commit 12410e1Copy full SHA for 12410e1
RTS_Data/FormattedData/pandapower/source_data_to_pp.py
@@ -33,9 +33,9 @@ def plot_net(net, ax=None):
33
fig, ax = plt.subplots(1, 1)
34
35
# create plot collection to visualize results
36
- cmap, norm = plt.cmap_continous([(0.9, "blue"), (1.0, "green"), (1.1, "red")])
+ cmap, norm = plt.cmap_continuous([(0.9, "blue"), (1.0, "green"), (1.1, "red")])
37
collections.append(plt.create_bus_collection(net, size=bus_size, cmap=cmap, norm=norm))
38
- cmap, norm = plt.cmap_continous([(0., "green"), (50., "yellow"), (100., "red")])
+ cmap, norm = plt.cmap_continuous([(0., "green"), (50., "yellow"), (100., "red")])
39
collections.append(plt.create_line_collection(net, use_bus_geodata=True, linewidth=1., cmap=cmap, norm=norm))
40
collections.append(plt.create_trafo_collection(net, size=trafo_size, color="green", alpha=.5))
41
collections.append(plt.create_ext_grid_collection(net, size=ext_grid_size, orientation=1.5))
0 commit comments