hagenw commited on
Commit
24435c4
·
1 Parent(s): 96b678f

Use integer as tics

Browse files
Files changed (1) hide show
  1. app.py +4 -10
app.py CHANGED
@@ -217,24 +217,18 @@ def plot_expression(arousal, dominance, valence):
217
  ax.set_zlabel("valence", fontsize="large", labelpad=0)
218
  ax.set_xticks(
219
  list(range(voxels + 1)),
220
- labels=["low", None, None, None, None, None, None, "high"],
221
- rotation=45,
222
- rotation_mode="anchor",
223
  verticalalignment="bottom",
224
  )
225
  ax.set_yticks(
226
  list(range(voxels + 1)),
227
- labels=["low", None, None, None, None, None, None, "high"],
228
- rotation=-25,
229
- rotation_mode="anchor",
230
  verticalalignment="bottom",
231
  )
232
  ax.set_zticks(
233
  list(range(voxels + 1)),
234
- labels=["low", None, None, None, None, None, None, "high"],
235
- rotation=25,
236
- rotation_mode="default",
237
- verticalalignment="bottom",
238
  )
239
 
240
 
 
217
  ax.set_zlabel("valence", fontsize="large", labelpad=0)
218
  ax.set_xticks(
219
  list(range(voxels + 1)),
220
+ labels=[0, None, None, None, None, None, None, 1],
 
 
221
  verticalalignment="bottom",
222
  )
223
  ax.set_yticks(
224
  list(range(voxels + 1)),
225
+ labels=[0, None, None, None, None, None, None, 1],
 
 
226
  verticalalignment="bottom",
227
  )
228
  ax.set_zticks(
229
  list(range(voxels + 1)),
230
+ labels=[0, None, None, None, None, None, None, 1],
231
+ verticalalignment="top",
 
 
232
  )
233
 
234