#๐Ÿ”’ Animation isn't working

17 messages ยท Page 1 of 1 (latest)

slate berryBOT
#

Hey @mossy quartz!

Please edit your message to use a code block

Add a py after the three backticks.

```py
print('Hello, world!')
```

This will result in the following:

print('Hello, world!')```
#

:incoming_envelope: :ok_hand: applied timeout to @mossy quartz until <t:1763502192:f> (10 minutes) (reason: newlines spam - sent 26 consecutive newlines).

The <@&831776746206265384> have been alerted for review.

#

@mossy quartz

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

teal flicker
#

!unmute 709404066136064083

#

!paste

slate berryBOT
#

:incoming_envelope: :ok_hand: pardoned infraction timeout for @mossy quartz.

#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

mossy quartz
#

how would i format a python text

wraith spade
#

!code

slate berryBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

unreal stirrup
#
  1. Where the code says x= np.array([x_val]), what do you expect this to mean?

  2. Try checking the values of the global x and y after they're set. Do they look like what you expect? Do you understand why they look like that? Do you see why this causes a problem for the animate function?

#

(Specifically, make sure to check the dimensions and shape of the data.)

mossy quartz
#

for every instance of t i wanted x to be and y coordinate system for its point for a given t

slate berryBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.