The logical fallacy of generalization from fictional evidence consists in drawing real-world conclusions based on statements invented and selected for the purpose of writing fiction.
It was first coined by Eliezer Yudkowsky in a talk he gave in 2003, and later in his essay The Logical Fallacy of Generalization from Fictional Evidence.